[TASK] Replace Bootstrap::initializeLanguageObject() in tests
This change uses the LanguageServiceFactory directly (mostly in tests) instead of Bootstrap::initializeLanguageObject() in order to explicitly define $GLOBALS['LANG'], thus showing the dependency to the global object. The internal method Bootstrap::initializeLanguageObject() can thus be removed. Resolves: #102712 Releases: main Change-Id: I78a93e222d302db796a031e585685a409aa73c41 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82266 Reviewed-by:Benni Mack <benni@typo3.org> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Nikita Hovratov <nikita.h@live.de> Tested-by:
Oliver Klee <typo3-coding@oliverklee.de> Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Nikita Hovratov <nikita.h@live.de> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
core-ci <typo3@b13.com>
Showing
- typo3/sysext/backend/Tests/Functional/Backend/Shortcut/ShortcutRepositoryTest.php 3 additions, 3 deletions...ts/Functional/Backend/Shortcut/ShortcutRepositoryTest.php
- typo3/sysext/backend/Tests/Functional/Clipboard/ClipboardTest.php 3 additions, 3 deletions...sext/backend/Tests/Functional/Clipboard/ClipboardTest.php
- typo3/sysext/backend/Tests/Functional/Controller/BackendControllerTest.php 3 additions, 3 deletions...end/Tests/Functional/Controller/BackendControllerTest.php
- typo3/sysext/backend/Tests/Functional/Controller/EditDocumentControllerTest.php 3 additions, 3 deletions...ests/Functional/Controller/EditDocumentControllerTest.php
- typo3/sysext/backend/Tests/Functional/Controller/FormInlineAjaxControllerTest.php 3 additions, 3 deletions...ts/Functional/Controller/FormInlineAjaxControllerTest.php
- typo3/sysext/backend/Tests/Functional/Controller/MfaAjaxControllerTest.php 3 additions, 3 deletions...end/Tests/Functional/Controller/MfaAjaxControllerTest.php
- typo3/sysext/backend/Tests/Functional/Controller/MfaConfigurationControllerTest.php 3 additions, 3 deletions.../Functional/Controller/MfaConfigurationControllerTest.php
- typo3/sysext/backend/Tests/Functional/Controller/MfaControllerTest.php 3 additions, 3 deletions...backend/Tests/Functional/Controller/MfaControllerTest.php
- typo3/sysext/backend/Tests/Functional/Controller/MfaSetupControllerTest.php 3 additions, 3 deletions...nd/Tests/Functional/Controller/MfaSetupControllerTest.php
- typo3/sysext/backend/Tests/Functional/Controller/Page/LocalizationControllerTest.php 17 additions, 17 deletions...Functional/Controller/Page/LocalizationControllerTest.php
- typo3/sysext/backend/Tests/Functional/Controller/Page/TreeControllerTest.php 5 additions, 4 deletions...d/Tests/Functional/Controller/Page/TreeControllerTest.php
- typo3/sysext/backend/Tests/Functional/Controller/ShortcutControllerTest.php 3 additions, 3 deletions...nd/Tests/Functional/Controller/ShortcutControllerTest.php
- typo3/sysext/backend/Tests/Functional/Domain/Repository/Localization/LocalizationRepositoryTest.php 3 additions, 3 deletions...in/Repository/Localization/LocalizationRepositoryTest.php
- typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaCategoryTest.php 3 additions, 3 deletions...ests/Functional/Form/FormDataProvider/TcaCategoryTest.php
- typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaGroupTest.php 3 additions, 3 deletions...d/Tests/Functional/Form/FormDataProvider/TcaGroupTest.php
- typo3/sysext/backend/Tests/Functional/Middleware/BackendModuleValidatorTest.php 3 additions, 3 deletions...ests/Functional/Middleware/BackendModuleValidatorTest.php
- typo3/sysext/backend/Tests/Functional/Template/Components/Buttons/Action/ShortcutButtonTest.php 5 additions, 5 deletions...Template/Components/Buttons/Action/ShortcutButtonTest.php
- typo3/sysext/backend/Tests/Functional/Utility/BackendUtilityTest.php 2 additions, 2 deletions...t/backend/Tests/Functional/Utility/BackendUtilityTest.php
- typo3/sysext/backend/Tests/Functional/View/Drawing/BackendLayoutRendererTest.php 2 additions, 2 deletions...sts/Functional/View/Drawing/BackendLayoutRendererTest.php
- typo3/sysext/backend/Tests/Functional/View/ValueFormatter/FlexFormValueFormatterTest.php 3 additions, 3 deletions...tional/View/ValueFormatter/FlexFormValueFormatterTest.php
Please register or sign in to comment