]
);
- MWNamespace::getCanonicalNamespaces( true ); # reset namespace cache
+ MWNamespace::clearCaches();
$wgContLang->resetNamespaces(); # reset namespace cache
}
parent::tearDown();
- MWNamespace::getCanonicalNamespaces( true ); # reset namespace cache
+ MWNamespace::clearCaches();
$wgContLang->resetNamespaces(); # reset namespace cache
}
$this->assertEquals( $expected, $title->getOtherPage()->getPrefixedText() );
}
+ /**
+ * @covers Title::clearCaches
+ */
public function testClearCaches() {
$linkCache = LinkCache::singleton();