You are here

protected function SafeMarkupKernelTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/KernelTests/Component/Utility/SafeMarkupKernelTest.php \Drupal\KernelTests\Component\Utility\SafeMarkupKernelTest::setUp()

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Component/Utility/SafeMarkupKernelTest.php, line 29
Contains \Drupal\KernelTests\Component\Utility\SafeMarkupKernelTest.

Class

SafeMarkupKernelTest
Provides a test covering integration of SafeMarkup with other systems.

Namespace

Drupal\KernelTests\Component\Utility

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installSchema('system', 'router');
  $this->container
    ->get('router.builder')
    ->rebuild();
}