From b51c4a3328364046445d8f4d7787cf2e43acc65d Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 13 Jan 2012 23:39:48 +0000 Subject: [PATCH] Removed call to ParserTest::setUp() which was unnecessary. Also, the called function leaks globals anyway atm. --- tests/phpunit/includes/ParserOptionsTest.php | 1 - 1 file changed, 1 deletion(-) 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 ); -- 2.20.1