Skip to content
Snippets Groups Projects
Commit b6cbade9 authored by Stefan Bürk's avatar Stefan Bürk Committed by Christian Kuhn
Browse files

[BUGFIX] PHP8.0 warning from ext:recycler tests

Initializing LanguageService in $GLOBALS['LANG'] with
Bootstrap::initalizeLanguageObject() needs a proper setup
$GLOBALS['BE_USER'].

The patch moves Bootstrap::initialzeLanguageObject() from
abstract testcase to the corresponding setUp() methods
user and admin recycler tests after the corresponding
backend user is set up.

Furthermore some assertions are fine tuned to prevent
array access warnings in tests.

Resolves: #95549
Releases: master
Change-Id: I3a9fed0a6f83e9481b169fb4a476ba2e2235e483
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71519


Tested-by: default avatarNikita Hovratov <nikita.h@live.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarJochen <rothjochen@gmail.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarNikita Hovratov <nikita.h@live.de>
Reviewed-by: default avatarJochen <rothjochen@gmail.com>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent a5bbdc27
Branches
Tags
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