#108382Fix \TYPO3\CMS\Extbase\Tests\Functional\Utility\LocalizationUtilityTest
Description
CI pipeline is broken, caused by #108014
Build/Scripts/runTests.sh -s functional -d mariadb -a pdo_mysql -i 10.4 -p 8.3 typo3/sysext/extbase/Tests/Functional/Utility/LocalizationUtilityTest.php
Using driver: pdo_mysql
PHPUnit 11.5.42 by Sebastian Bergmann and contributors.
Runtime: PHP 8.3.28
Configuration: /Users/olly/Development/typo3/main/Build/phpunit/FunctionalTests.xml
....EE............EE.............................. 50 / 50 (100%)
Time: 00:01.867, Memory: 101.00 MB
There were 4 errors:
1) TYPO3\CMS\Extbase\Tests\Functional\Utility\LocalizationUtilityTest::translateTestWithBackendUserLanguage with data set "get translated key (russian, sort order relevant)" ('key1', 'ru', 'Russian label for key1')
ArgumentCountError: Too few arguments to function TYPO3\CMS\Extbase\Tests\Functional\Utility\LocalizationUtilityTest::translateTestWithBackendUserLanguage(), 3 passed in /Users/olly/Development/typo3/main/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1657 and at least 4 expected
/Users/olly/Development/typo3/main/typo3/sysext/extbase/Tests/Functional/Utility/LocalizationUtilityTest.php:97
2) TYPO3\CMS\Extbase\Tests\Functional\Utility\LocalizationUtilityTest::translateTestWithBackendUserLanguage with data set "fallback to English when translation is missing for ru key" ('key2', 'ru', 'English label for key2')
ArgumentCountError: Too few arguments to function TYPO3\CMS\Extbase\Tests\Functional\Utility\LocalizationUtilityTest::translateTestWithBackendUserLanguage(), 3 passed in /Users/olly/Development/typo3/main/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1657 and at least 4 expected
/Users/olly/Development/typo3/main/typo3/sysext/extbase/Tests/Functional/Utility/LocalizationUtilityTest.php:97
3) TYPO3\CMS\Extbase\Tests\Functional\Utility\LocalizationUtilityTest::translateTestWithExplicitLanguageParameters with data set "get translated key (russian, sort order relevant)" ('key1', 'ru', 'Russian label for key1')
ArgumentCountError: Too few arguments to function TYPO3\CMS\Extbase\Tests\Functional\Utility\LocalizationUtilityTest::translateTestWithExplicitLanguageParameters(), 3 passed in /Users/olly/Development/typo3/main/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1657 and at least 4 expected
/Users/olly/Development/typo3/main/typo3/sysext/extbase/Tests/Functional/Utility/LocalizationUtilityTest.php:114
4) TYPO3\CMS\Extbase\Tests\Functional\Utility\LocalizationUtilityTest::translateTestWithExplicitLanguageParameters with data set "fallback to English when translation is missing for ru key" ('key2', 'ru', 'English label for key2')
ArgumentCountError: Too few arguments to function TYPO3\CMS\Extbase\Tests\Functional\Utility\LocalizationUtilityTest::translateTestWithExplicitLanguageParameters(), 3 passed in /Users/olly/Development/typo3/main/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1657 and at least 4 expected
/Users/olly/Development/typo3/main/typo3/sysext/extbase/Tests/Functional/Utility/LocalizationUtilityTest.php:114
ERRORS!
Tests: 50, Assertions: 60, Errors: 4.Reviews 1
Related issues 1
History 56
-
Gerrit Code Review pushed patch set 1 for main to change 91987 status
NewUnder Review <span data-processor="relativetime" data-value="2025-12-02T20:07:41+00:00" > 12/02/25, 20:07 </span> -
Oliver Hader changed description <span data-processor="relativetime" data-value="2025-12-02T20:29:05+00:00" > 12/02/25, 20:29 </span>
-
Oliver Hader changed Related to #108014 <span data-processor="relativetime" data-value="2025-12-02T20:29:28+00:00" > 12/02/25, 20:29 </span>
-
Oliver Hader changed description <span data-processor="relativetime" data-value="2025-12-02T20:29:56+00:00" > 12/02/25, 20:29 </span>
-
Oliver Hader commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2025-12-02T20:30:08+00:00" > 12/02/25, 20:30 </span> -
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2026-03-31T09:00:58+00:00" > 03/31/26, 09:00 </span>
Applied in changeset commit:52a1c947563c2ad08e0b97ebcf480d28350cbf67.