mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-27 15:50:29 +00:00
ApiVisualEditorTest: Set Database annotation and $tablesUsed
Bug: T312849 Change-Id: Iacb1e7f3b66f93d54c2512718ea00f46a0b55c89
This commit is contained in:
parent
86136db386
commit
21de9f4728
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue