[TASK] Disable a test on PHP 5.3 20/34420/3
authorChristian Kuhn <lolli@schwarzbu.ch>
Thu, 20 Nov 2014 22:41:19 +0000 (23:41 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 20 Nov 2014 22:44:49 +0000 (23:44 +0100)
This is a follow-up for 6.2 branch after phpunit upgrade to 4.3.

Resolves: #63113
Releases: 6.2
Change-Id: I8ccbd2cf27c94fa47f6099a20d19c0975a14b0e4
Reviewed-on: http://review.typo3.org/34420
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Tests/Unit/Package/PackageManagerTest.php

index 95a6f1a..9cbda2c 100644 (file)
@@ -223,6 +223,10 @@ class PackageManagerTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         * @test
         */
        public function packageStatesConfigurationContainsRelativePaths() {
+               if (version_compare(phpversion(), '5.4.0', '<')) {
+                       $this->markTestSkipped('This test is not reliable with PHP version below 5.4.0');
+               }
+
                $packageKeys = array(
                        'RobertLemke.Flow.NothingElse' . md5(uniqid(mt_rand(), TRUE)),
                        'TYPO3.Flow' . md5(uniqid(mt_rand(), TRUE)),