jenkins-bot has submitted this change and it was merged.

Change subject: Fix Test due to change in DataModelSerialization
......................................................................


Fix Test due to change in DataModelSerialization

The change the library should not have had any breaking changes..
But this test is using incorrect serialization hence the break

This small fix fixes this!

Change-Id: I7cf251974c8ade5644ab3bb4067f227540e7a339
---
M 
client/tests/phpunit/includes/DataAccess/Scribunto/SnakSerializationRendererTest.php
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git 
a/client/tests/phpunit/includes/DataAccess/Scribunto/SnakSerializationRendererTest.php
 
b/client/tests/phpunit/includes/DataAccess/Scribunto/SnakSerializationRendererTest.php
index f2213ca..3854bd3 100644
--- 
a/client/tests/phpunit/includes/DataAccess/Scribunto/SnakSerializationRendererTest.php
+++ 
b/client/tests/phpunit/includes/DataAccess/Scribunto/SnakSerializationRendererTest.php
@@ -88,7 +88,7 @@
                        ),
                        'Multiple Snaks' => array(
                                'foo, bar, Berlin',
-                               array( array(
+                               array( 'P42' => array(
                                        $this->getSnakSerialization( new 
StringValue( 'foo' ) ),
                                        $this->getSnakSerialization( new 
StringValue( 'bar' ) ),
                                        $this->getSnakSerialization( new 
StringValue( 'Berlin' ) )

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I7cf251974c8ade5644ab3bb4067f227540e7a339
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>
Gerrit-Reviewer: Aude <[email protected]>
Gerrit-Reviewer: JanZerebecki <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to