Bene has uploaded a new change for review.
https://gerrit.wikimedia.org/r/268868
Change subject: Remove references to Entity from EntityInfo related tests
......................................................................
Remove references to Entity from EntityInfo related tests
Change-Id: I7120f70b7b05c1a58785c124887e6df782db83b4
---
M lib/tests/phpunit/store/EntityInfoBuilderTest.php
M lib/tests/phpunit/store/EntityInfoTest.php
2 files changed, 4 insertions(+), 4 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase
refs/changes/68/268868/1
diff --git a/lib/tests/phpunit/store/EntityInfoBuilderTest.php
b/lib/tests/phpunit/store/EntityInfoBuilderTest.php
index dc26929..9e1c776 100644
--- a/lib/tests/phpunit/store/EntityInfoBuilderTest.php
+++ b/lib/tests/phpunit/store/EntityInfoBuilderTest.php
@@ -2,7 +2,7 @@
namespace Wikibase\Test;
-use Wikibase\DataModel\Entity\Entity;
+use Wikibase\DataModel\Entity\EntityDocument;
use Wikibase\DataModel\Entity\EntityId;
use Wikibase\DataModel\Entity\Item;
use Wikibase\DataModel\Entity\ItemId;
@@ -31,7 +31,7 @@
}
/**
- * @return Entity[]
+ * @return EntityDocument[]
*/
protected function getKnownEntities() {
$q1 = new Item( new ItemId( 'Q1' ) );
diff --git a/lib/tests/phpunit/store/EntityInfoTest.php
b/lib/tests/phpunit/store/EntityInfoTest.php
index 6196c35..d486117 100644
--- a/lib/tests/phpunit/store/EntityInfoTest.php
+++ b/lib/tests/phpunit/store/EntityInfoTest.php
@@ -3,7 +3,7 @@
namespace Wikibase\Test;
use PHPUnit_Framework_TestCase;
-use Wikibase\DataModel\Entity\Entity;
+use Wikibase\DataModel\Entity\EntityDocument;
use Wikibase\DataModel\Entity\Item;
use Wikibase\DataModel\Entity\ItemId;
use Wikibase\DataModel\Entity\BasicEntityIdParser;
@@ -23,7 +23,7 @@
class EntityInfoTest extends PHPUnit_Framework_TestCase {
/**
- * @param Entity[] $entities
+ * @param EntityDocument[] $entities
*
* @return EntityInfo
*/
--
To view, visit https://gerrit.wikimedia.org/r/268868
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7120f70b7b05c1a58785c124887e6df782db83b4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Bene <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits