Remove useless StatusTest::testCanConstruct()
authorKunal Mehta <legoktm@member.fsf.org>
Thu, 28 Dec 2017 08:25:25 +0000 (00:25 -0800)
committerLegoktm <legoktm@member.fsf.org>
Thu, 28 Dec 2017 08:53:04 +0000 (08:53 +0000)
Neither Status, nor StatusValue have constructors, so there's not much
point testing whether the object can be constructed.

Change-Id: I170940889b5da5198ef4576d04786f84c293dd01

tests/phpunit/includes/StatusTest.php

index 7e56ebf..ae23a43 100644 (file)
@@ -5,11 +5,6 @@
  */
 class StatusTest extends MediaWikiLangTestCase {
 
-       public function testCanConstruct() {
-               new Status();
-               $this->assertTrue( true );
-       }
-
        /**
         * @dataProvider provideValues
         * @covers Status::newGood