Index: trunk/phase3/tests/phpunit/includes/GlobalFunctions/GlobalTest.php |
— | — | @@ -3,13 +3,12 @@ |
4 | 4 | class GlobalTest extends MediaWikiTestCase { |
5 | 5 | function setUp() { |
6 | 6 | global $wgReadOnlyFile, $wgContLang, $wgLang, $wgUrlProtocols, $wgLanguageCode; |
| 7 | + parent::setUp(); |
7 | 8 | $this->originals['wgReadOnlyFile'] = $wgReadOnlyFile; |
8 | 9 | $this->originals['wgUrlProtocols'] = $wgUrlProtocols; |
9 | 10 | $wgReadOnlyFile = tempnam( wfTempDir(), "mwtest_readonly" ); |
10 | 11 | $wgUrlProtocols[] = 'file://'; |
11 | 12 | unlink( $wgReadOnlyFile ); |
12 | | - $wgLanguageCode = 'en'; |
13 | | - $wgContLang = $wgLang = Language::factory( 'en' ); |
14 | 13 | } |
15 | 14 | |
16 | 15 | function tearDown() { |