[TYPO3-core] [Broken] TYPO3/TYPO3.CMS#2591 (master - c51b71d)

Christian Kuhn lolli at schwarzbu.ch
Fri Mar 14 09:07:23 CET 2014


On 03/14/2014 09:06 AM, Peter Niederlag wrote:
> Hi,
>
> On 14.03.2014 01:26, Stefan Neufeind wrote:
>> Broken in functional tests since $GLOBALS['LANG'] is not available.
>>
>> Could somebody familiar with functional testing please have a look and
>> maybe send a followup? Sorry ...
>
> Sure it affects functional testing? IMHO this is a unit Test Failing. ;)
>
> 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']

yeah, should be a mock that does not call __construct() ... on it.




More information about the TYPO3-team-core mailing list