Removed assertions calling MWNamespace::isMain() from MWNamespaceTest::testIsSubject...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 15 Feb 2012 13:31:20 +0000 (13:31 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 15 Feb 2012 13:31:20 +0000 (13:31 +0000)
tests/phpunit/includes/MWNamespaceTest.php

index 6b231fc..d459022 100644 (file)
@@ -53,10 +53,6 @@ class MWNamespaceTest extends MediaWikiTestCase {
                $this->assertIsNotSubject( NS_TALK      );
                $this->assertIsNotSubject( NS_USER_TALK );
                $this->assertIsNotSubject( 101          ); # user defined
-
-               // Back compat
-               $this->assertTrue( MWNamespace::isMain( NS_MAIN ) == MWNamespace::isSubject( NS_MAIN ) );
-               $this->assertTrue( MWNamespace::isMain( NS_USER_TALK ) == MWNamespace::isSubject( NS_USER_TALK ) );
        }
 
        /**