Matthias Mullie has uploaded a new change for review.
https://gerrit.wikimedia.org/r/199893
Change subject: Ask for header content in specific format
......................................................................
Ask for header content in specific format
We test the API result to respond with the content in a
certain format (html), but didn't expicilty request html.
If not specified, API will default to storage format...
Bug: T94025
Change-Id: Idfac194eb23958a7e627f516974abac403416e08
---
M tests/phpunit/api/ApiFlowViewHeaderTest.php
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow
refs/changes/93/199893/1
diff --git a/tests/phpunit/api/ApiFlowViewHeaderTest.php
b/tests/phpunit/api/ApiFlowViewHeaderTest.php
index 492bbc6..de16907 100644
--- a/tests/phpunit/api/ApiFlowViewHeaderTest.php
+++ b/tests/phpunit/api/ApiFlowViewHeaderTest.php
@@ -52,6 +52,7 @@
'page' => "Talk:Flow_QA",
'action' => 'flow',
'submodule' => 'view-header',
+ 'vhcontentFormat' => 'html',
) );
$result = $data[0]['flow']['view-header']['result']['header'];
$debug = json_encode( $result );
--
To view, visit https://gerrit.wikimedia.org/r/199893
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idfac194eb23958a7e627f516974abac403416e08
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Matthias Mullie <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits