aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/plugins/test_route_invalid/test_route_invalid.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/test_route_invalid/test_route_invalid.php')
-rw-r--r--tests/plugins/test_route_invalid/test_route_invalid.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/plugins/test_route_invalid/test_route_invalid.php b/tests/plugins/test_route_invalid/test_route_invalid.php
new file mode 100644
index 00000000..0c5a5101
--- /dev/null
+++ b/tests/plugins/test_route_invalid/test_route_invalid.php
@@ -0,0 +1,12 @@
1<?php
2
3function test_route_invalid_register_routes(): array
4{
5 return [
6 [
7 'method' => 'GET',
8 'route' => 'not a route',
9 'callable' => 'getFunction',
10 ],
11 ];
12}