You are here

protected function UuidFormatterTest::setUp in Drupal 8

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

Overrides KernelTestBase::setUp

File

core/modules/field/tests/src/Kernel/String/UuidFormatterTest.php, line 26

Class

UuidFormatterTest
Tests the output of a UUID field.

Namespace

Drupal\Tests\field\Kernel\String

Code

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