Last modified: 2013-07-03 13:34:27 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T50453, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48453 - Failing ChangeHandler tests
Failing ChangeHandler tests
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-14 14:24 UTC by tobias.gritschacher
Modified: 2013-07-03 13:34 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description tobias.gritschacher 2013-05-14 14:24:43 UTC
$>php phpunit.php --group ChangeHandlerTest
PHPUnit 3.7.13 by Sebastian Bergmann.

Configuration read from C:\..\wikidata-client\tests\phpunit\suite.xml

.......................................F...................    59 / 10573 (  0%)
.......................................

Time: 3 seconds, Memory: 89.50Mb

There was 1 failure:

1) Wikibase\Test\ChangeHandlerTest::testGetEditComment with data set #0 (Wikibase\ItemChange: array ( 'bot' => false, 'comment' => 'change-enwiki-site
link:1|', 'id' => NULL, 'object_id' => 'q100', 'page_id' => 23, 'parent_id' => 1007, 'rev_id' => 1008, 'time' => '20130101000000', 'type' => 'wikibase
-item~update', 'user_id' => 0, 'user_text' => 'Some User', ), Dummy, array(array('Emmy')), array(array(array('en', 'Emmy'), array('en', 'Emmy2')), 'wi
kibase-comment-sitelink-change'))
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
 Array (
     'sitelink' => Array (
         'oldlink' => Array (
-            'lang' => 'en'
+            'lang' => 'enwiki'
             'page' => 'Emmy'
         )
         'newlink' => Array (
-            'lang' => 'en'
+            'lang' => 'enwiki'
             'page' => 'Emmy2'
         )
     )
     'message' => 'wikibase-comment-sitelink-change'
 )

C:\..\wikidata-client\tests\phpunit\MediaWikiTestCase.php:680
C:\..\wikidata-client\extensions\Wikibase\client\tests\phpunit\includes\ChangeHandlerTest.php:988
C:\..\wikidata-client\tests\phpunit\MediaWikiTestCase.php:116
C:\..\wikidata-client\tests\phpunit\MediaWikiPHPUnitCommand.php:63
C:\..\wikidata-client\tests\phpunit\MediaWikiPHPUnitCommand.php:47

FAILURES!
Tests: 98, Assertions: 454, Failures: 1.
Comment 1 Gerrit Notification Bot 2013-05-16 13:54:27 UTC
Related URL: https://gerrit.wikimedia.org/r/64058 (Gerrit Change Ifa8f7f515630a6d4a9af42960021a9869a99dba3)
Comment 2 Gerrit Notification Bot 2013-05-17 13:20:11 UTC
https://gerrit.wikimedia.org/r/64058 (Gerrit Change Ifa8f7f515630a6d4a9af42960021a9869a99dba3) | change APPROVED and MERGED [by jenkins-bot]

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links