From: Kunal Mehta Date: Thu, 28 Dec 2017 08:25:25 +0000 (-0800) Subject: Remove useless StatusTest::testCanConstruct() X-Git-Tag: 1.31.0-rc.0~1066^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=99d73dc9033603b03198f84854e9a5078bde89b8 Remove useless StatusTest::testCanConstruct() Neither Status, nor StatusValue have constructors, so there's not much point testing whether the object can be constructed. Change-Id: I170940889b5da5198ef4576d04786f84c293dd01 --- diff --git a/tests/phpunit/includes/StatusTest.php b/tests/phpunit/includes/StatusTest.php index 7e56ebf20b..ae23a4343e 100644 --- a/tests/phpunit/includes/StatusTest.php +++ b/tests/phpunit/includes/StatusTest.php @@ -5,11 +5,6 @@ */ class StatusTest extends MediaWikiLangTestCase { - public function testCanConstruct() { - new Status(); - $this->assertTrue( true ); - } - /** * @dataProvider provideValues * @covers Status::newGood