aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/api/ApiQueryTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/includes/api/ApiQueryTest.php')
-rw-r--r--tests/phpunit/includes/api/ApiQueryTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/phpunit/includes/api/ApiQueryTest.php b/tests/phpunit/includes/api/ApiQueryTest.php
index 9e857048868f..5c9ef93b9bc1 100644
--- a/tests/phpunit/includes/api/ApiQueryTest.php
+++ b/tests/phpunit/includes/api/ApiQueryTest.php
@@ -14,7 +14,7 @@ class ApiQueryTest extends ApiTestSetup {
function testTitlesGetNormalized() {
- global $wgSitename;
+ global $wgMetaNamespace;
$data = $this->doApiRequest( array(
'action' => 'query',
@@ -27,7 +27,7 @@ class ApiQueryTest extends ApiTestSetup {
$this->assertEquals(
array(
'from' => 'Project:articleA',
- 'to' => $wgSitename . ':ArticleA'
+ 'to' => $wgMetaNamespace . ':ArticleA'
),
$data[0]['query']['normalized'][0]
);