aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/parser/NewParserTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/includes/parser/NewParserTest.php')
-rw-r--r--tests/phpunit/includes/parser/NewParserTest.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/phpunit/includes/parser/NewParserTest.php b/tests/phpunit/includes/parser/NewParserTest.php
index 17d6ca35b8fc..401962fba89a 100644
--- a/tests/phpunit/includes/parser/NewParserTest.php
+++ b/tests/phpunit/includes/parser/NewParserTest.php
@@ -32,8 +32,11 @@ class NewParserTest extends MediaWikiTestCase {
protected $file = false;
protected function setUp() {
- global $wgContLang, $wgNamespaceProtection, $wgNamespaceAliases;
+ global $wgContLang, $wgLanguageCode;
+ global $wgNamespaceProtection, $wgNamespaceAliases;
global $wgHooks, $IP;
+
+ $wgLanguageCode = 'en';
$wgContLang = Language::factory( 'en' );
//Setup CLI arguments