From: Aaron Schulz Date: Fri, 13 Jan 2012 23:39:48 +0000 (+0000) Subject: Removed call to ParserTest::setUp() which was unnecessary. Also, the called function... X-Git-Tag: 1.31.0-rc.0~25284 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%2C%22id_auteur=%24connecte%22%29%20.%20%22?a=commitdiff_plain;h=b51c4a3328364046445d8f4d7787cf2e43acc65d;p=lhc%2Fweb%2Fwiklou.git Removed call to ParserTest::setUp() which was unnecessary. Also, the called function leaks globals anyway atm. --- diff --git a/tests/phpunit/includes/ParserOptionsTest.php b/tests/phpunit/includes/ParserOptionsTest.php index 58c891462f..9c50cc408a 100644 --- a/tests/phpunit/includes/ParserOptionsTest.php +++ b/tests/phpunit/includes/ParserOptionsTest.php @@ -6,7 +6,6 @@ class ParserOptionsTest extends MediaWikiTestCase { private $pcache; function setUp() { - ParserTest::setUp(); //reuse setup from parser tests global $wgContLang, $wgUser, $wgLanguageCode; $wgContLang = Language::factory( $wgLanguageCode ); $this->popts = new ParserOptions( $wgUser );