Skip to content

Commit 528b399

Browse files
thiemowmdeWMDE bot
authored andcommitted
Drop test cases that are exact duplicates
There are 100% identical duplicates in these files. I don't know why. In some cases it was probably just a mistake. In other cases it looks like the code was refactored and some parameter got lost, which made some previously different test cases identical. Please decide if this is critical and worth a closer look, or just merge it as it was effectively dead code. Change-Id: I13ee10cf1508dd65dde6bad6592bc0a94f8dcfd6
1 parent cbbdfcb commit 528b399

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

tests/unit/Entity/ItemTest.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -198,11 +198,6 @@ public function testItemWithSitelinksHasSitelinks() {
198198
$this->assertFalse( $item->getSiteLinkList()->isEmpty() );
199199
}
200200

201-
public function testItemWithoutSitelinksHasNoSitelinks() {
202-
$item = new Item();
203-
$this->assertTrue( $item->getSiteLinkList()->isEmpty() );
204-
}
205-
206201
private function newStatement() {
207202
$statement = new Statement( new PropertyNoValueSnak( 42 ) );
208203
$statement->setGuid( 'kittens' );

0 commit comments

Comments
 (0)