You are here

protected function RouteNoneTest::setUp in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/system/src/Tests/RouteProcessor/RouteNoneTest.php \Drupal\system\Tests\RouteProcessor\RouteNoneTest::setUp()

Performs setup tasks before each individual test method is run.

Overrides KernelTestBase::setUp

File

core/modules/system/src/Tests/RouteProcessor/RouteNoneTest.php, line 42
Contains \Drupal\system\Tests\RouteProcessor\RouteNoneTest.

Class

RouteNoneTest
Tests the <none> route processor.

Namespace

Drupal\system\Tests\RouteProcessor

Code

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