[TYPO3-core] RFC #4272: Inconsistent return values of ini_get() produce false positives for safe_mode detection

Christian Kuhn lolli at schwarzbu.ch
Fri Oct 29 13:49:15 CEST 2010


Hey.

On 10/28/2010 08:47 AM, Peter Beernink wrote:
> I have tried to build a unit test for this. But as I'm fairly new to
> unit testing, I'm not sure what to test, as it is not possible to mock
> an internal function for as far as I know.

Yes, it's pretty much impossible to unit test this.

Regards
Christian


More information about the TYPO3-team-core mailing list