You are here

protected function KernelTestBase::setUp in Token 8

Overrides KernelTestBase::setUp

12 calls to KernelTestBase::setUp()
BookTest::setUp in tests/src/Kernel/BookTest.php
CommentTest::setUp in tests/src/Kernel/CommentTest.php
DateTest::setUp in tests/src/Kernel/DateTest.php
EntityTest::setUp in tests/src/Kernel/EntityTest.php
FieldTest::setUp in tests/src/Kernel/FieldTest.php

... See full list

12 methods override KernelTestBase::setUp()
BookTest::setUp in tests/src/Kernel/BookTest.php
CommentTest::setUp in tests/src/Kernel/CommentTest.php
DateTest::setUp in tests/src/Kernel/DateTest.php
EntityTest::setUp in tests/src/Kernel/EntityTest.php
FieldTest::setUp in tests/src/Kernel/FieldTest.php

... See full list

File

tests/src/Kernel/KernelTestBase.php, line 25

Class

KernelTestBase
Helper test class with some added functions for testing.

Namespace

Drupal\Tests\token\Kernel

Code

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