You are here

protected function TokensTest::setUp in Media entity 8

Overrides EntityKernelTestBase::setUp

File

tests/src/Kernel/TokensTest.php, line 35

Class

TokensTest
Tests token handling.

Namespace

Drupal\Tests\media_entity\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('file');
  $this
    ->installSchema('file', 'file_usage');
  $this
    ->installEntitySchema('media');
  $this
    ->installConfig([
    'language',
    'datetime',
    'field',
    'system',
  ]);
}