diff --git a/core/modules/system/tests/modules/error_test/error_test.routing.yml b/core/modules/system/tests/modules/error_test/error_test.routing.yml index ad96152..141d71c 100644 --- a/core/modules/system/tests/modules/error_test/error_test.routing.yml +++ b/core/modules/system/tests/modules/error_test/error_test.routing.yml @@ -5,13 +5,6 @@ error_test.generate_warnings: requirements: _access: 'TRUE' -error_test.generate_fatals: - path: '/error-test/generate-fatals' - defaults: - _controller: '\Drupal\error_test\Controller\ErrorTestController::generateFatals' - requirements: - _access: 'TRUE' - error_test.generate_warnings_with_report: path: '/error-test/generate-warnings-with-report' defaults: diff --git a/core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php b/core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php index 25ef1c5..fe2430c 100644 --- a/core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php +++ b/core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php @@ -57,17 +57,6 @@ public function generateWarnings($collect_errors = FALSE) { } /** - * Generate fatals to test the error handler. - */ - public function generateFatals() { - $function = function(array $test) { - }; - - $function("test-string"); - return []; - } - - /** * Trigger an exception to test the exception handler. */ public function triggerException() {