X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fapi%2FApiQuerySiteinfoTest.php;h=55f4a330ce87c3c67f826fa9366d76e3d4a579ea;hb=6497541c9c089966ce7d3b0e0abd6b68192d30d8;hp=d3a4ed4406f596d5afb4a99780131a5671df3f2c;hpb=1accb936f348c7cbf7a2013cbcc5d233a215a372;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/api/ApiQuerySiteinfoTest.php b/tests/phpunit/includes/api/ApiQuerySiteinfoTest.php index d3a4ed4406..55f4a330ce 100644 --- a/tests/phpunit/includes/api/ApiQuerySiteinfoTest.php +++ b/tests/phpunit/includes/api/ApiQuerySiteinfoTest.php @@ -590,7 +590,10 @@ class ApiQuerySiteinfoTest extends ApiTestCase { } public function testVariables() { - $this->assertSame( MagicWord::getVariableIDs(), $this->doQuery( 'variables' ) ); + $this->assertSame( + MediaWikiServices::getInstance()->getMagicWordFactory()->getVariableIDs(), + $this->doQuery( 'variables' ) + ); } public function testProtocols() {