[TYPO3-v4] Core unit test isScriptaculousLoadedCompressed in t3lib_PageRendererTest fails
Steffen Kamper
info at sk-typo3.de
Mon Aug 30 20:56:49 CEST 2010
Hi,
Helmut Hummel schrieb:
> Hi Steffen,
>
> On 30.08.10 14:13, Steffen Kamper wrote:
>
>> on bugday i analyzed this. Result: the test works. But if (and this was
>> in my case too) you installed the contrib_update extension it fails
>> because the libs are included from typo3conf.
>
> Nope. I don't have the extension installed.
>
>> I'm not sure if we should
>> respect this case in the unit test.
>
> I don't think so.
>
> Only one test fails, which is isScriptaculousLoadedCompressed() because
> the file references are .js.gzip not just .js as asserted in the test.
> Funny that the test passes in your case because I guess that .js.gzip
> should be correct when enabling compression, shouldn't it?
>
you are right - i hadn't gzip on my laptop, but on my local i have and
there it fails too. The regexp isn't sufficient.
I attached a correction, please test.
vg Steffen
More information about the TYPO3-project-v4
mailing list