You are here

protected function UuidFormatterTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/field/src/Tests/String/UuidFormatterTest.php \Drupal\field\Tests\String\UuidFormatterTest::setUp()

Performs setup tasks before each individual test method is run.

Overrides KernelTestBase::setUp

File

core/modules/field/src/Tests/String/UuidFormatterTest.php, line 31
Contains \Drupal\field\Tests\String\UuidFormatterTest.

Class

UuidFormatterTest
Tests the output of a UUID field.

Namespace

Drupal\field\Tests\String

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installConfig([
    'system',
    'field',
  ]);
  $this
    ->installSchema('system', 'router');
  \Drupal::service('router.builder')
    ->rebuild();
  $this
    ->installEntitySchema('entity_test');
}