[BUGFIX] Do not load LocalConfiguration in unit test bootstrap
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Tests / Unit / Utility / GeneralUtilityTest.php
index 1996332..c92ff30 100644 (file)
@@ -4141,6 +4141,7 @@ class GeneralUtilityTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        ///////////////////////////////////////////////////
        // Tests concerning callUserFunction
        ///////////////////////////////////////////////////
+
        /**
         * @test
         * @dataProvider callUserFunctionInvalidParameterDataprovider
@@ -4149,7 +4150,7 @@ class GeneralUtilityTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
                $inputData = array('foo' => 'bar');
                // omit the debug() output
                ob_start();
-               $result = Utility\GeneralUtility::callUserFunction($functionName, $inputData, $this, 'user_');
+               $result = Utility\GeneralUtility::callUserFunction($functionName, $inputData, $this, 'user_', 1);
                ob_end_clean();
                $this->assertFalse($result);
        }