dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
API: Overhaul ApiResult, make format=xml not throw, and add json formatversion
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
api
/
ApiTestCase.php
diff --git
a/tests/phpunit/includes/api/ApiTestCase.php
b/tests/phpunit/includes/api/ApiTestCase.php
index
8c27b10
..
da62bb0
100644
(file)
--- a/
tests/phpunit/includes/api/ApiTestCase.php
+++ b/
tests/phpunit/includes/api/ApiTestCase.php
@@
-116,7
+116,7
@@
abstract class ApiTestCase extends MediaWikiLangTestCase {
// construct result
$results = array(
- $module->getResult
Data(
),
+ $module->getResult
()->getResultData( null, array( 'Strip' => 'all' )
),
$context->getRequest(),
$context->getRequest()->getSessionArray()
);