https://bugzilla.wikimedia.org/show_bug.cgi?id=48453
Web browser: ---
Bug ID: 48453
Summary: Failing ChangeHandler tests
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikidataRepo
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
$>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.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l