Merge "ApiVisualEditorTest: Set Database annotation and $tablesUsed"

This commit is contained in:
jenkins-bot 2022-07-12 13:31:02 +00:00 committed by Gerrit Code Review
commit 6b25a6b15a

View file

@ -10,6 +10,7 @@ use Wikimedia\ScopedCallback;
/**
* @group medium
* @group Database
*
* @covers \MediaWiki\Extension\VisualEditor\ApiVisualEditor
*/
@ -18,6 +19,9 @@ class ApiVisualEditorTest extends ApiTestCase {
/** @var ScopedCallback|null */
private $scopedCallback;
/** @var @inheritDoc */
protected $tablesUsed = [ 'page', 'revision' ];
protected function setUp(): void {
parent::setUp();
$this->scopedCallback = ExtensionRegistry::getInstance()->setAttributeForTest(