[TYPO3-core] RFC #14176: unit test for RemoveXSS triggers fatal error in phpunit extension

Sebastian Gebhard sebastiangebhard at hoch2.de
Thu Apr 22 09:00:34 CEST 2010


+1 by reading. I guess testing is not really neccessary..

Am 22.04.10 08:51, schrieb Jigal van Hemert:
> This is SVN patch request.
>
> Type: bug
>
> Bugtracker references: http://bugs.typo3.org/view.php?id=14176
>
> Branches: trunk
>
> Problem:
> ------------
> In tests/contrib/removexss_testcase.php the RemoveXSS class file is
> included by using require(). When used with the phpunit extension this
> triggers a fatal error that the class cannot be redefined.
>
> Solution:
> ------------
> The attached patch solves the issue in the following way:
> - use require_once() instead of require()
>



More information about the TYPO3-team-core mailing list