ApiVisualEditorTest: Set Database annotation and $tablesUsed

Bug: T312849
Change-Id: Iacb1e7f3b66f93d54c2512718ea00f46a0b55c89
This commit is contained in:
Kosta Harlan 2022-06-10 11:20:42 +02:00
parent 86136db386
commit 21de9f4728

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(