[TYPO3-core] RFC #14982: Make alt_doc.php unittest-able
Susanne Moog
info at susannemoog.de
Fri Jul 16 21:26:45 CEST 2010
On 06.07.2010 22:45, Christian Kuhn wrote:
> Ingo Schmitt wrote:
>> Problem:
>> Currently it is not possible to write any unittest for alt_doc.php,
>> since template.php, init.php are included via require. Also $LANG
>> should be changed to $GLOBALS['LANG'].
>>
>> Solution:
>> Change the require to require_once and change to $GLOBALS['LANG']
>>
>> Note:
>> It could be discussed if this patch is a bugfix or a feature, but
>> since the core should be unittest-able since 4.4 I do consider it's a
>> bug.
>
> +1 on reading and testing for 4.4 and trunk.
+1 by reading and testing on trunk.
Christian, will you commit?
Susanne
More information about the TYPO3-team-core
mailing list