Fix fatal error when running newParserTest
authorAntoine Musso <hashar@users.mediawiki.org>
Tue, 29 Nov 2011 14:23:24 +0000 (14:23 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Tue, 29 Nov 2011 14:23:24 +0000 (14:23 +0000)
commite2b4ba368e05bd7137550f515da55ebcca9bfdae
tree4b6e8da7e86f4778624ccdf12759a0d3aed18584
parentafaead99b841741abdc83cd54e2b1ae00319865f
Fix fatal error when running newParserTest

The delayed parser test feature was expecting a ParserTest object which is
almost never the case when using the NewParserTest for PHPUnit. The class
name is forged after the file name! They at least all extends NewParserTest

no polymorphism? no multiple hinting. Be creative the PHP way by writing
your own code :-(
tests/testHelpers.inc