Jeroen De Dauw has uploaded a new change for review.
https://gerrit.wikimedia.org/r/149240
Change subject: Update class refs and remove dead code
......................................................................
Update class refs and remove dead code
Change-Id: I982a7576961a25327bd4b590b7a46c911aaa23ee
---
M lib/tests/phpunit/entity/EntityFactoryTest.php
1 file changed, 2 insertions(+), 6 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase
refs/changes/40/149240/1
diff --git a/lib/tests/phpunit/entity/EntityFactoryTest.php
b/lib/tests/phpunit/entity/EntityFactoryTest.php
index 2586872..da5e4e1 100644
--- a/lib/tests/phpunit/entity/EntityFactoryTest.php
+++ b/lib/tests/phpunit/entity/EntityFactoryTest.php
@@ -2,10 +2,9 @@
namespace Wikibase\Test;
-use Wikibase\Entity;
use Wikibase\EntityFactory;
-use Wikibase\Item;
-use Wikibase\Property;
+use Wikibase\DataModel\Entity\Item;
+use Wikibase\DataModel\Entity\Property;
/**
* @covers Wikibase\EntityFactory
@@ -25,9 +24,6 @@
$this->assertTrue( in_array( Item::ENTITY_TYPE, $types ), "must
contain item type" );
$this->assertTrue( in_array( Property::ENTITY_TYPE, $types ),
"must contain property type" );
-
- // TODO
- // $this->assertTrue( in_array( Query::ENTITY_TYPE, $types ),
"must contain query type" );
}
public static function provideIsEntityType() {
--
To view, visit https://gerrit.wikimedia.org/r/149240
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I982a7576961a25327bd4b590b7a46c911aaa23ee
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits