protected function ExceptionHandlingTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/src/Tests/Routing/ExceptionHandlingTest.php \Drupal\system\Tests\Routing\ExceptionHandlingTest::setUp()
Performs setup tasks before each individual test method is run.
Overrides KernelTestBase::setUp
File
- core/
modules/ system/ src/ Tests/ Routing/ ExceptionHandlingTest.php, line 30 - Contains \Drupal\system\Tests\Routing\ExceptionHandlingTest.
Class
- ExceptionHandlingTest
- Tests the exception handling for various cases.
Namespace
Drupal\system\Tests\RoutingCode
protected function setUp() {
parent::setUp();
$this
->installSchema('system', [
'router',
]);
\Drupal::service('router.builder')
->rebuild();
}