X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FArticleTest.php;h=867c4f007be35f550dd3fc00a98e828a1011e9e5;hb=b65669ff7adbbde55872a8ddd93214a9e1df75c6;hp=82b947bb7c844c3a728027ead916102b94411c46;hpb=e413fbf1f32da7997eced8eb9f9a7cce204ea863;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/ArticleTest.php b/tests/phpunit/includes/ArticleTest.php index 82b947bb7c..867c4f007b 100644 --- a/tests/phpunit/includes/ArticleTest.php +++ b/tests/phpunit/includes/ArticleTest.php @@ -50,7 +50,7 @@ class ArticleTest extends MediaWikiTestCase { $this->article->ext_someNewProperty = 12; $this->assertEquals( 12, $this->article->ext_someNewProperty, "Article get/set magic on new field" ); - + $this->article->ext_someNewProperty = -8; $this->assertEquals( -8, $this->article->ext_someNewProperty, "Article get/set magic on update to new field" ); @@ -80,11 +80,11 @@ class ArticleTest extends MediaWikiTestCase { $title = Title::makeTitle( NS_FILE, 'Someimage.png' ); $page = WikiPage::factory( $title ); $this->assertEquals( 'WikiFilePage', get_class( $page ) ); - + $title = Title::makeTitle( NS_CATEGORY, 'SomeCategory' ); $page = WikiPage::factory( $title ); $this->assertEquals( 'WikiCategoryPage', get_class( $page ) ); - + $title = Title::makeTitle( NS_MAIN, 'SomePage' ); $page = WikiPage::factory( $title ); $this->assertEquals( 'WikiPage', get_class( $page ) );