Aude has uploaded a new change for review.

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

Change subject: Don't use numeric id for TermIndexEntry in test
......................................................................

Don't use numeric id for TermIndexEntry in test

compatibility with I2819090b in Wikibase

Change-Id: I28c25553ee5681fbe42df495eb163e8d10c7f58e
---
M tests/phpunit/includes/SearchHookHandlerTest.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ArticlePlaceholder 
refs/changes/84/323784/1

diff --git a/tests/phpunit/includes/SearchHookHandlerTest.php 
b/tests/phpunit/includes/SearchHookHandlerTest.php
index 52f7c1c..fe4ac50 100644
--- a/tests/phpunit/includes/SearchHookHandlerTest.php
+++ b/tests/phpunit/includes/SearchHookHandlerTest.php
@@ -78,7 +78,7 @@
                        'termText' => $text,
                        'termLanguage' => $languageCode,
                        'termType' => $termType,
-                       'entityId' => $entityId->getNumericId(),
+                       'entityId' => $entityId,
                        'entityType' => $entityId->getEntityType(),
                ] );
        }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I28c25553ee5681fbe42df495eb163e8d10c7f58e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ArticlePlaceholder
Gerrit-Branch: master
Gerrit-Owner: Aude <aude.w...@gmail.com>

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

Reply via email to