aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/page
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/includes/page')
-rw-r--r--tests/phpunit/includes/page/ArticleTest.php25
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/phpunit/includes/page/ArticleTest.php b/tests/phpunit/includes/page/ArticleTest.php
index 00299d4d8de0..e8a7d82c4442 100644
--- a/tests/phpunit/includes/page/ArticleTest.php
+++ b/tests/phpunit/includes/page/ArticleTest.php
@@ -34,31 +34,6 @@ class ArticleTest extends \MediaWikiIntegrationTestCase {
}
/**
- * @covers Article::__get
- * @covers Article::__set
- */
- public function testGetOrSetOnNewProperty() {
- $article = new Article( Title::newMainPage() );
-
- $this->filterDeprecated(
- '/Accessing Article::\$ext_someNewProperty/'
- );
- $this->filterDeprecated(
- '/Setting Article::\$ext_someNewProperty/'
- );
- $article->ext_someNewProperty = 12;
- $this->assertEquals( 12, $article->ext_someNewProperty,
- "Article get/set magic on new field" );
- $this->assertEquals( 12, $article->getPage()->ext_someNewProperty,
- "Article get/set magic on new field" );
- $article->ext_someNewProperty = -8;
- $this->assertEquals( -8, $article->ext_someNewProperty,
- "Article get/set magic on update to new field" );
- $this->assertEquals( -8, $article->getPage()->ext_someNewProperty,
- "Article get/set magic on new field" );
- }
-
- /**
* @covers Article::__sleep
*/
public function testSerialization_fails() {