function MediaMappingsConstraintValidatorTest::setUp

Same name in other branches
  1. 11.x core/modules/media/tests/src/Kernel/MediaMappingsConstraintValidatorTest.php \Drupal\Tests\media\Kernel\MediaMappingsConstraintValidatorTest::setUp()

Overrides KernelTestBase::setUp

File

core/modules/media/tests/src/Kernel/MediaMappingsConstraintValidatorTest.php, line 29

Class

MediaMappingsConstraintValidatorTest
@coversDefaultClass \Drupal\media\Plugin\Validation\Constraint\MediaMappingsConstraintValidator

Namespace

Drupal\Tests\media\Kernel

Code

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

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