Aude has uploaded a new change for review.

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

Change subject: Fix typos and expected test result in api EditEntityTest
......................................................................

Fix typos and expected test result in api EditEntityTest

Change-Id: I69b03ebd6446d72e23dee17c325c861732747284
---
M repo/tests/phpunit/includes/api/EditEntityTest.php
1 file changed, 3 insertions(+), 3 deletions(-)


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

diff --git a/repo/tests/phpunit/includes/api/EditEntityTest.php 
b/repo/tests/phpunit/includes/api/EditEntityTest.php
index ff47170..27d3c8c 100644
--- a/repo/tests/phpunit/includes/api/EditEntityTest.php
+++ b/repo/tests/phpunit/includes/api/EditEntityTest.php
@@ -581,11 +581,11 @@
                                'p' => array(
                                        'site' => 'enwiki',
                                        'title' => 'Berlin',
-                                       'data' => 
'{"lables":{"BLUB":{"language":"BLUB","value":"ImaLabel"}}}'
+                                       'data' => 
'{"labels":{"BLUB":{"language":"BLUB","value":"ImaLabel"}}}'
                                ),
                                'e' => array( 'exception' => array(
                                        'type' => 'UsageException',
-                                       'code' => 'not-recognized'
+                                       'code' => 'not-recognized-language'
                                ) ) ),
                        // @todo the error codes in the overly long string 
tests make no sense
                        // and should be corrected...
@@ -593,7 +593,7 @@
                                'p' => array(
                                        'site' => 'enwiki',
                                        'title' => 'Berlin',
-                                       'data' => 
'{"lables":{"en":{"language":"en","value":"'
+                                       'data' => 
'{"labels":{"en":{"language":"en","value":"'
                                                . 
TermTestHelper::makeOverlyLongString() . '"}}}'
                                ),
                                'e' => array( 'exception' => array( 'type' => 
'UsageException' ) ) ),

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I69b03ebd6446d72e23dee17c325c861732747284
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
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