You are here

protected function ConstraintTest::setUp in Video Embed Field 8

Same name and namespace in other branches
  1. 8.2 tests/src/Kernel/ConstraintTest.php \Drupal\Tests\video_embed_field\Kernel\ConstraintTest::setUp()

Overrides KernelTestBase::setUp

File

tests/src/Kernel/ConstraintTest.php, line 28

Class

ConstraintTest
Test for the video embed constraint.

Namespace

Drupal\Tests\video_embed_field\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('user');
  $this
    ->installSchema('system', [
    'sequences',
  ]);
  $this->user = $this
    ->createUser([]);
}