From: Antoine Musso Date: Tue, 31 May 2011 19:51:48 +0000 (+0000) Subject: NewParserTest.php can now work independently X-Git-Tag: 1.31.0-rc.0~29825 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=d24a26e713082d4d22518be3fe361c72224f103e;p=lhc%2Fweb%2Fwiklou.git NewParserTest.php can now work independently PHPUnit load class according to their order on the filesystem I guess. On the cruisecontrol host, it first load NewParserTest.php and run the test then load MediaWikiParserTest.php which run the tests too! On my host the order is reversed, and NewParserTest.php is never run for a reason I have not investigated. Anyway, deleting the MediaWikiParserTest.php is harmless since it is redundant with NewParserTest.php (should fix cruise control) --- diff --git a/tests/phpunit/includes/parser/MediaWikiParserTest.php b/tests/phpunit/includes/parser/MediaWikiParserTest.php deleted file mode 100644 index 8d6230d188..0000000000 --- a/tests/phpunit/includes/parser/MediaWikiParserTest.php +++ /dev/null @@ -1,35 +0,0 @@ -addTestSuite( new ReflectionClass ( $parserTester ) ); - } - - - return $suite; - } -}