/** creates a title object and its article object */
function setUp() {
- $this->title = Title::makeTitle( NS_MAIN, 'somePage' );
+ $this->title = Title::makeTitle( NS_MAIN, 'SomePage' );
$this->article = new Article( $this->title );
}
}
- function testImplementsGetMagic() {
+ function testImplementsGetMagic() {
$this->assertEquals( -1, $this->article->mCounter, "Article __get magic" );
}
"Article static functions" );
$this->assertEquals( true, is_callable( "ImagePage::onArticleEdit" ),
"Article static functions" );
- $this->assertTrue( 'testing' === 'jenkins' && is_string( CategoryPage::getAutosummary( '', '', 0 ) ),
+ $this->assertTrue( is_string( CategoryPage::getAutosummary( '', '', 0 ) ),
"Article static functions" );
}