function EditorMediaDialogTest::setUp

Same name in other branches
  1. 9 core/modules/media/tests/src/Kernel/EditorMediaDialogTest.php \Drupal\Tests\media\Kernel\EditorMediaDialogTest::setUp()
  2. 8.9.x core/modules/media/tests/src/Kernel/EditorMediaDialogTest.php \Drupal\Tests\media\Kernel\EditorMediaDialogTest::setUp()

Overrides KernelTestBase::setUp

File

core/modules/media/tests/src/Kernel/EditorMediaDialogTest.php, line 41

Class

EditorMediaDialogTest
@coversDefaultClass \Drupal\media\Form\EditorMediaDialog @group media @group legacy

Namespace

Drupal\Tests\media\Kernel

Code

protected function setUp() : void {
    parent::setUp();
    $this->installSchema('file', [
        'file_usage',
    ]);
    $this->installEntitySchema('file');
    $this->installEntitySchema('media');
    $this->installEntitySchema('user');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.