Addshore has uploaded a new change for review.
https://gerrit.wikimedia.org/r/226622
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(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase
refs/changes/22/226622/1
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: newchange
Gerrit-Change-Id: I7cf251974c8ade5644ab3bb4067f227540e7a339
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits