Skip to content
Snippets Groups Projects
Commit 9978e919 authored by Benni Mack's avatar Benni Mack
Browse files

[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: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarNikita Hovratov <nikita.h@live.de>
Tested-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarNikita Hovratov <nikita.h@live.de>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarcore-ci <typo3@b13.com>
parent b4625afa
Branches
Tags
Showing
with 76 additions and 75 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment