Jeroen De Dauw has uploaded a new change for review.

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

Change subject: Sop using deprecated methods in SpecialItemDisambiguationTest
......................................................................

Sop using deprecated methods in SpecialItemDisambiguationTest

Change-Id: I7386e312bfbf18ea7bbfcda52e336974174123e0
---
M repo/tests/phpunit/includes/specials/SpecialItemDisambiguationTest.php
1 file changed, 6 insertions(+), 6 deletions(-)


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

diff --git 
a/repo/tests/phpunit/includes/specials/SpecialItemDisambiguationTest.php 
b/repo/tests/phpunit/includes/specials/SpecialItemDisambiguationTest.php
index 57ebc5a..b5084e0 100644
--- a/repo/tests/phpunit/includes/specials/SpecialItemDisambiguationTest.php
+++ b/repo/tests/phpunit/includes/specials/SpecialItemDisambiguationTest.php
@@ -82,17 +82,17 @@
 
                $one = Item::newEmpty();
                $one->setId( new ItemId( 'Q1' ) );
-               $one->setLabel( 'en', 'one' );
-               $one->setLabel( 'de', 'eins' );
-               $one->setDescription( 'en', 'number' );
-               $one->setDescription( 'de', 'Zahl' );
+               $one->getFingerprint()->setLabel( 'en', 'one' );
+               $one->getFingerprint()->setLabel( 'de', 'eins' );
+               $one->getFingerprint()->setDescription( 'en', 'number' );
+               $one->getFingerprint()->setDescription( 'de', 'Zahl' );
 
                $repo->putEntity( $one );
 
                $oneone = Item::newEmpty();
                $oneone->setId( new ItemId( 'Q11' ) );
-               $oneone->setLabel( 'en', 'oneone' );
-               $oneone->setLabel( 'de', 'einseins' );
+               $oneone->getFingerprint()->setLabel( 'en', 'oneone' );
+               $oneone->getFingerprint()->setLabel( 'de', 'einseins' );
 
                $repo->putEntity( $oneone );
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7386e312bfbf18ea7bbfcda52e336974174123e0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <jeroended...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to