Tobias Gritschacher has submitted this change and it was merged.

Change subject: Fixed testPatch in EntityTest
......................................................................


Fixed testPatch in EntityTest

Change-Id: I19ba0ad7e3dd0822b4cd749503f97227ad4f62ac
---
M DataModel/tests/phpunit/Entity/EntityTest.php
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Tobias Gritschacher: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/DataModel/tests/phpunit/Entity/EntityTest.php 
b/DataModel/tests/phpunit/Entity/EntityTest.php
index 1a265db..b67d1d1 100644
--- a/DataModel/tests/phpunit/Entity/EntityTest.php
+++ b/DataModel/tests/phpunit/Entity/EntityTest.php
@@ -789,9 +789,9 @@
                $source->addClaim( $claim0 );
                $source->addClaim( $claim1 );
                $patch = new EntityDiff( array( 'claim' => new Diff( array(
-                       new DiffOpRemove( $claim0 ),
-                       new DiffOpAdd( $claim2 ),
-                       new DiffOpAdd( $claim3 )
+                       'claim0' => new DiffOpRemove( $claim0 ),
+                       'claim2' => new DiffOpAdd( $claim2 ),
+                       'claim3' => new DiffOpAdd( $claim3 )
                ), false ) ) );
                $expected = $this->getNewEmpty();
                $expected->addClaim( $claim1 );

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I19ba0ad7e3dd0822b4cd749503f97227ad4f62ac
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <[email protected]>
Gerrit-Reviewer: Anja Jentzsch <[email protected]>
Gerrit-Reviewer: Ataherivand <[email protected]>
Gerrit-Reviewer: Aude <[email protected]>
Gerrit-Reviewer: Daniel Kinzler <[email protected]>
Gerrit-Reviewer: Daniel Werner <[email protected]>
Gerrit-Reviewer: Denny Vrandecic <[email protected]>
Gerrit-Reviewer: Henning Snater <[email protected]>
Gerrit-Reviewer: Jens Ohlig <[email protected]>
Gerrit-Reviewer: Jeroen De Dauw <[email protected]>
Gerrit-Reviewer: John Erling Blad <[email protected]>
Gerrit-Reviewer: Lydia Pintscher <[email protected]>
Gerrit-Reviewer: Markus Kroetzsch <[email protected]>
Gerrit-Reviewer: Nikola Smolenski <[email protected]>
Gerrit-Reviewer: Silke Meyer <[email protected]>
Gerrit-Reviewer: Tobias Gritschacher <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to