X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fapi%2FApiQuerySiteinfoTest.php;h=129b7f9d6ada9d98b35714103aead74e24279f8a;hb=dd59b8d4fcd1d03f4d73b08f3f1e5f9a9da6f74e;hp=fe2058fd18b249effb40957c25e6dea79a0951f9;hpb=c1c76c30386a9fa0760f12de1c62451a09d174a9;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' ) ); }