summaryrefslogtreecommitdiffstats
path: root/core/modules/system/tests/modules/system_test/system_test.routing.yml
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/system/tests/modules/system_test/system_test.routing.yml')
-rw-r--r--core/modules/system/tests/modules/system_test/system_test.routing.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/core/modules/system/tests/modules/system_test/system_test.routing.yml b/core/modules/system/tests/modules/system_test/system_test.routing.yml
index ecb9921..94a1bef 100644
--- a/core/modules/system/tests/modules/system_test/system_test.routing.yml
+++ b/core/modules/system/tests/modules/system_test/system_test.routing.yml
@@ -129,3 +129,17 @@ system_test.permission_dependent_route_access:
_controller: '\Drupal\system_test\Controller\SystemTestController::mainContentFallback'
requirements:
_permission: 'pet llamas'
+
+system_test.respond_response:
+ path: '/system-test/respond-reponse'
+ defaults:
+ _controller: '\Drupal\system_test\Controller\SystemTestController::respondWithReponse'
+ requirements:
+ _access: 'TRUE'
+
+system_test.respond_cacheable_response:
+ path: '/system-test/respond-cacheable-reponse'
+ defaults:
+ _controller: '\Drupal\system_test\Controller\SystemTestController::respondWithCacheableReponse'
+ requirements:
+ _access: 'TRUE'