You are here

protected function EditorMediaDialogTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 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 38

Class

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

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');
}