[BUGFIX] Failing FAL unit test 43/21543/3
authorChristian Kuhn <lolli@schwarzbu.ch>
Thu, 20 Jun 2013 16:47:39 +0000 (18:47 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 20 Jun 2013 17:59:40 +0000 (19:59 +0200)
Using 0042 as create mask for files in unit test from issue #49029
triggers a warning and lets the test fail when the test file is
removed again. Relaxing the create mask to 0642 solves the issue.

Change-Id: I1bfdb344df5160505d853a725584c2a98f30494b
Resolves: #49296
Related: #49029
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/21543
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/core/Tests/Unit/Resource/Driver/LocalDriverTest.php

index 13544b2..df0dd97 100644 (file)
@@ -656,7 +656,7 @@ class LocalDriverTest extends \TYPO3\CMS\Core\Tests\Unit\Resource\BaseTestCase {
                }
 
                // No one will use this as his default file create mask so we hopefully don't get any false positives
-               $testpattern = '0046';
+               $testpattern = '0646';
                $GLOBALS['TYPO3_CONF_VARS']['BE']['fileCreateMask'] = $testpattern;
 
                $this->addToMount(