You are here

protected function StackKernelIntegrationTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/src/Tests/HttpKernel/StackKernelIntegrationTest.php \Drupal\system\Tests\HttpKernel\StackKernelIntegrationTest::setUp()

Performs setup tasks before each individual test method is run.

Overrides KernelTestBase::setUp

File

core/modules/system/src/Tests/HttpKernel/StackKernelIntegrationTest.php, line 32
Contains \Drupal\system\Tests\HttpKernel\StackKernelIntegrationTest.

Class

StackKernelIntegrationTest
Tests the stacked kernel functionality.

Namespace

Drupal\system\Tests\HttpKernel

Code

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