From 99d73dc9033603b03198f84854e9a5078bde89b8 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Thu, 28 Dec 2017 00:25:25 -0800 Subject: [PATCH] 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 --- tests/phpunit/includes/StatusTest.php | 5 ----- 1 file changed, 5 deletions(-) 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 -- 2.20.1