Skip to content

Commit 54bddf2

Browse files
committed
Merge pull request #629 from wmde/itemProvider
Remove unused method from ItemTest
2 parents 742b0ab + 51a1478 commit 54bddf2

1 file changed

Lines changed: 0 additions & 32 deletions

File tree

tests/unit/Entity/ItemTest.php

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -62,38 +62,6 @@ public function testSetIdUsingNumber() {
6262
$this->assertEquals( new ItemId( 'Q42' ), $item->getId() );
6363
}
6464

65-
public function itemProvider() {
66-
$items = array();
67-
68-
$items[] = new Item();
69-
70-
$item = new Item();
71-
$item->setDescription( 'en', 'foo' );
72-
$items[] = $item;
73-
74-
$item = new Item();
75-
$item->setDescription( 'en', 'foo' );
76-
$item->setDescription( 'de', 'foo' );
77-
$item->setLabel( 'en', 'foo' );
78-
$item->setAliases( 'de', array( 'bar', 'baz' ) );
79-
$items[] = $item;
80-
81-
/** @var Item $item */
82-
$item = $item->copy();
83-
$item->getStatements()->addNewStatement(
84-
new PropertyNoValueSnak( new PropertyId( 'P42' ) )
85-
);
86-
$items[] = $item;
87-
88-
$argLists = array();
89-
90-
foreach ( $items as $item ) {
91-
$argLists[] = array( $item );
92-
}
93-
94-
return $argLists;
95-
}
96-
9765
public function testGetSiteLinkWithNonSetSiteId() {
9866
$item = new Item();
9967

0 commit comments

Comments
 (0)