mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-23 22:13:34 +00:00
ApiVisualEditorTest: Avoid using VirtualRESTServiceClient
Use paction 'metadata' instead of 'parse' by default, to avoid accidentally using VirtualRESTServiceClient when testing cases that don't require it. Change-Id: I02492a2dc444cf531a5c8767b0dcfe0d20ac7339
This commit is contained in:
parent
09e405386b
commit
0c5ed2e772
|
@ -34,7 +34,7 @@ class ApiVisualEditorTest extends ApiTestCase {
|
|||
private function loadEditor() {
|
||||
$params = [
|
||||
'action' => 'visualeditor',
|
||||
'paction' => 'parse',
|
||||
'paction' => 'metadata',
|
||||
'page' => 'SomeTestPage',
|
||||
];
|
||||
return $this->doApiRequestWithToken( $params );
|
||||
|
|
Loading…
Reference in a new issue