r108879 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108878‎ | r108879 | r108880 >
Date:23:39, 13 January 2012
Author:aaron
Status:ok
Tags:
Comment:
Removed call to ParserTest::setUp() which was unnecessary. Also, the called function leaks globals anyway atm.
Modified paths:
  • /trunk/phase3/tests/phpunit/includes/ParserOptionsTest.php (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/phpunit/includes/ParserOptionsTest.php
@@ -6,7 +6,6 @@
77 private $pcache;
88
99 function setUp() {
10 - ParserTest::setUp(); //reuse setup from parser tests
1110 global $wgContLang, $wgUser, $wgLanguageCode;
1211 $wgContLang = Language::factory( $wgLanguageCode );
1312 $this->popts = new ParserOptions( $wgUser );

Status & tagging log