[TASK] Removes eval() in core version number utility unit tests 31/40431/3
authorPierrick Caillon <pierrick.caillon@plan-net.fr>
Thu, 18 Jun 2015 10:16:00 +0000 (12:16 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Thu, 18 Jun 2015 20:18:28 +0000 (22:18 +0200)
commit7db77eeb2e701fdcf2eff1b8986bb7001db66a9f
treeb1ebbdf7ff2cf6fe5808ec9a596d8863df51790a
parent941de0a66ce4cda0f30dc21ab2610ece6ba74c6e
[TASK] Removes eval() in core version number utility unit tests

Adds fixture for specifying current version in VersionNumberUtility
and removes the ugly usage of eval() from VersionNumberUtilityTest.

Resolves: #67594
Related: #67468
Releases: master
Change-Id: Ia4b256c1a1e61dc117519c243d0e465fb36e8662
Reviewed-on: http://review.typo3.org/40431
Reviewed-by: Alexander Krist <mail@alex-krist.de>
Tested-by: Alexander Krist <mail@alex-krist.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/core/Tests/Unit/Utility/Fixtures/VersionNumberUtilityFixture.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Utility/VersionNumberUtilityTest.php