You are here

protected function RedirectOnExceptionTest::setUp in Drupal 8

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/RequestProcessing/RedirectOnExceptionTest.php, line 24

Class

RedirectOnExceptionTest
Tests redirects on exception pages.

Namespace

Drupal\KernelTests\RequestProcessing

Code

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