X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FPagePropsTest.php;h=f602cdabcf45f386bc0caeec20a9b4cb0f042f13;hp=29c9e228f2cebf1851d5f0c76495bdfa6d0ef019;hb=1a40e0cc86b6ee0706606ded3ea243dfde4a414c;hpb=3a2853e218acb586a00f2e59638de4176aee287f diff --git a/tests/phpunit/includes/PagePropsTest.php b/tests/phpunit/includes/PagePropsTest.php index 29c9e228f2..f602cdabcf 100644 --- a/tests/phpunit/includes/PagePropsTest.php +++ b/tests/phpunit/includes/PagePropsTest.php @@ -1,13 +1,15 @@ resetNamespaces(); # reset namespace cache if ( !$this->the_properties ) { @@ -81,7 +83,7 @@ class TestPageProps extends MediaWikiLangTestCase { unset( $wgNamespaceContentModels[12312] ); unset( $wgContentHandlers['DUMMY'] ); - MWNamespace::getCanonicalNamespaces( true ); # reset namespace cache + MWNamespace::clearCaches(); $wgContLang->resetNamespaces(); # reset namespace cache }