Issue Bug Closed

#56897Unit Test failing because missing $GLOBALS['LANG']

Peter Niederlag 03/14/14, 09:26 updated 10/02/18, 12:03

Description

1.)
The bootstrap of the unit testing framework doesn’t call
initializeLanguageObject(), which is responsible for making
GLOBALS[‘LANG’] available.

2.)
FieldProviderTest->validateAdditionalFieldsReturnsTrue()
creates an instance of
\TYPO3\CMS\Scheduler\Controller\SchedulerModuleController() which can’t
access GLOBALS[‘LANG’]

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.