X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fcontent%2FContentHandlerTest.php;h=2422e792cfbad62fd79c0730783d2eaa0f6ae1bc;hp=ee79ffa40f09ee5c687cc01ab419209f36f368d8;hb=a8379682a46a428320c88702c800a6107c015137;hpb=db920e6cf1d23638c2fece1bbeb9d17bdae6de10 diff --git a/tests/phpunit/includes/content/ContentHandlerTest.php b/tests/phpunit/includes/content/ContentHandlerTest.php index ee79ffa40f..2422e792cf 100644 --- a/tests/phpunit/includes/content/ContentHandlerTest.php +++ b/tests/phpunit/includes/content/ContentHandlerTest.php @@ -35,7 +35,7 @@ class ContentHandlerTest extends MediaWikiTestCase { ] ); // Reset namespace cache - MWNamespace::getCanonicalNamespaces( true ); + MWNamespace::clearCaches(); $wgContLang->resetNamespaces(); // And LinkCache MediaWikiServices::getInstance()->resetServiceForTesting( 'LinkCache' ); @@ -45,7 +45,7 @@ class ContentHandlerTest extends MediaWikiTestCase { global $wgContLang; // Reset namespace cache - MWNamespace::getCanonicalNamespaces( true ); + MWNamespace::clearCaches(); $wgContLang->resetNamespaces(); // And LinkCache MediaWikiServices::getInstance()->resetServiceForTesting( 'LinkCache' );