dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4064701
)
Fix MWDebugTest::testAppendDebugInfoToApiResultXmlFormat
author
Brad Jorsch
<bjorsch@wikimedia.org>
Fri, 8 Dec 2017 16:55:52 +0000
(11:55 -0500)
committer
Brad Jorsch
<bjorsch@wikimedia.org>
Fri, 8 Dec 2017 16:55:52 +0000
(11:55 -0500)
When this test was added in Ifb2e392d3, it did not pass the correct
number of arguments to ApiFormatXml::recXmlPrint().
Bug: T182368
Change-Id: I63aee08307054137c6b50b6fbd271e03f6d4e45f
tests/phpunit/includes/debug/MWDebugTest.php
patch
|
blob
|
history
diff --git
a/tests/phpunit/includes/debug/MWDebugTest.php
b/tests/phpunit/includes/debug/MWDebugTest.php
index
5c65483
..
25cfd3c
100644
(file)
--- a/
tests/phpunit/includes/debug/MWDebugTest.php
+++ b/
tests/phpunit/includes/debug/MWDebugTest.php
@@
-110,7
+110,7
@@
class MWDebugTest extends MediaWikiTestCase {
$this->assertArrayHasKey( $expectedKey, $data['debuginfo'], "debuginfo has $expectedKey" );
}
- $xml = ApiFormatXml::recXmlPrint( 'help', $data );
+ $xml = ApiFormatXml::recXmlPrint( 'help', $data
, null
);
// exception not thrown
$this->assertInternalType( 'string', $xml );