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
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
File
- tests/
src/ Kernel/ KernelTestBase.php, line 25
Class
- KernelTestBase
- Helper test class with some added functions for testing.
Namespace
Drupal\Tests\token\KernelCode
protected function setUp() {
parent::setUp();
$this
->installEntitySchema('path_alias');
\Drupal::service('router.builder')
->rebuild();
$this
->installConfig([
'system',
]);
}