Review main Merged

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

Stefan Bürk CR +2 V +2 Easy +16 −6 updated 10/11/21, 11:30

Commit message

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.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 3