X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fapi%2FApiQuerySiteinfoTest.php;h=129b7f9d6ada9d98b35714103aead74e24279f8a;hb=e68fdb4065a4822474f98f1c6bf2c77ef52e537b;hp=fe2058fd18b249effb40957c25e6dea79a0951f9;hpb=c1d7412ce2b7536a8a0e9ad1c7409fdf0a98502a;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/api/ApiQuerySiteinfoTest.php b/tests/phpunit/includes/api/ApiQuerySiteinfoTest.php index fe2058fd18..129b7f9d6a 100644 --- a/tests/phpunit/includes/api/ApiQuerySiteinfoTest.php +++ b/tests/phpunit/includes/api/ApiQuerySiteinfoTest.php @@ -1,5 +1,7 @@ assertCount( - count( SpecialPageFactory::getNames() ), + count( MediaWikiServices::getInstance()->getSpecialPageFactory()->getNames() ), $this->doQuery( 'specialpagealiases' ) ); }