dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a166e50
)
Remove useless StatusTest::testCanConstruct()
author
Kunal Mehta
<legoktm@member.fsf.org>
Thu, 28 Dec 2017 08:25:25 +0000
(
00:25
-0800)
committer
Legoktm
<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
patch
|
blob
|
history
diff --git
a/tests/phpunit/includes/StatusTest.php
b/tests/phpunit/includes/StatusTest.php
index
7e56ebf
..
ae23a43
100644
(file)
--- 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