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:
Thalia 2022-02-25 12:15:37 +00:00
parent 09e405386b
commit 0c5ed2e772

View file

@ -34,7 +34,7 @@ class ApiVisualEditorTest extends ApiTestCase {
private function loadEditor() {
$params = [
'action' => 'visualeditor',
'paction' => 'parse',
'paction' => 'metadata',
'page' => 'SomeTestPage',
];
return $this->doApiRequestWithToken( $params );