Bug #56897
Unit Test failing because missing $GLOBALS['LANG']
| Status: | Resolved | Start date: | 2014-03-14 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assigned To: | Peter Niederlag | % Done: | 0% |
|
| Category: | - | Spent time: | - | |
| Target version: | - | |||
| TYPO3 Version: | 6.2 | Is Regression: | No | |
| PHP Version: | Sprint Focus: | |||
| Complexity: |
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']
Related issues