You are here

protected function OEmbedResourceConstraintValidatorTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php \Drupal\Tests\media\Kernel\OEmbedResourceConstraintValidatorTest::setUp()
  2. 10 core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php \Drupal\Tests\media\Kernel\OEmbedResourceConstraintValidatorTest::setUp()

Overrides KernelTestBase::setUp

File

core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php, line 33

Class

OEmbedResourceConstraintValidatorTest
@coversDefaultClass \Drupal\media\Plugin\Validation\Constraint\OEmbedResourceConstraintValidator

Namespace

Drupal\Tests\media\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('file');
  $this
    ->installEntitySchema('user');
}