Merge "RCFilters: Convert saved queries from filters to parameters"
[lhc/web/wiklou.git] / tests / phpunit / includes / RevisionTest.php
index c971a40..386f219 100644 (file)
@@ -41,14 +41,14 @@ class RevisionTest extends MediaWikiTestCase {
                        ]
                );
 
-               MWNamespace::getCanonicalNamespaces( true ); # reset namespace cache
+               MWNamespace::clearCaches();
                $wgContLang->resetNamespaces(); # reset namespace cache
        }
 
        function tearDown() {
                global $wgContLang;
 
-               MWNamespace::getCanonicalNamespaces( true ); # reset namespace cache
+               MWNamespace::clearCaches();
                $wgContLang->resetNamespaces(); # reset namespace cache
 
                parent::tearDown();