Jeroen De Dauw has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/149233

Change subject: DM 1.0 compat: do not use Fingerprint::setLabel for now
......................................................................

DM 1.0 compat: do not use Fingerprint::setLabel for now

Change-Id: I498f4109351a1d2cb65fff6cc24a5e3f945e8dda
---
M repo/tests/phpunit/includes/content/EntityContentTest.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/33/149233/1

diff --git a/repo/tests/phpunit/includes/content/EntityContentTest.php 
b/repo/tests/phpunit/includes/content/EntityContentTest.php
index a2c11e2..e175c59 100644
--- a/repo/tests/phpunit/includes/content/EntityContentTest.php
+++ b/repo/tests/phpunit/includes/content/EntityContentTest.php
@@ -243,7 +243,7 @@
 
                $labeledEntityContent = $this->newEmpty();
                $fingerprint = 
$labeledEntityContent->getEntity()->getFingerprint();
-               $fingerprint->setLabel( new Term( 'de', 'xyz' ) );
+               $fingerprint->getLabels()->setTerm( new Term( 'de', 'xyz' ) );
                $labeledEntityContent->getEntity()->setFingerprint( 
$fingerprint );
 
                return array(

-- 
To view, visit https://gerrit.wikimedia.org/r/149233
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I498f4109351a1d2cb65fff6cc24a5e3f945e8dda
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

Reply via email to