protected function RedirectOnExceptionTest::setUp in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/tests/Drupal/KernelTests/RequestProcessing/RedirectOnExceptionTest.php \Drupal\KernelTests\RequestProcessing\RedirectOnExceptionTest::setUp()
Overrides KernelTestBase::setUp
File
- core/
tests/ Drupal/ KernelTests/ RequestProcessing/ RedirectOnExceptionTest.php, line 29 - Contains \Drupal\KernelTests\RequestProcessing\RedirectOnExceptionTest.
Class
- RedirectOnExceptionTest
- Tests redirects on exception pages.
Namespace
Drupal\KernelTests\RequestProcessingCode
protected function setUp() {
parent::setUp();
$this
->installSchema('system', [
'router',
'url_alias',
]);
\Drupal::service('router.builder')
->rebuild();
}