/**
* @group ContentHandler
+ * @group Database
*
* @note: We don't make assumptions about the main namespace.
* But we do expect the Help namespace to contain Wikitext.
*/
class TitleMethodsTest extends MediaWikiTestCase {
- public function setup() {
+ public function setUp() {
global $wgContLang;
parent::setUp();
$wgContLang->resetNamespaces(); # reset namespace cache
}
- public function teardown() {
+ public function tearDown() {
global $wgContLang;
parent::tearDown();
$title = Title::newFromText( $title );
$this->assertEquals( $expectedBool, $title->isWikitextPage() );
}
-
}