]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tests/plugins/test_route_invalid/test_route_invalid.php
Plugin system: allow plugins to provide custom routes
[github/shaarli/Shaarli.git] / tests / plugins / test_route_invalid / test_route_invalid.php
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 (file)
index 0000000..0c5a510
--- /dev/null
@@ -0,0 +1,12 @@
+<?php
+
+function test_route_invalid_register_routes(): array
+{
+    return [
+        [
+            'method' => 'GET',
+            'route' => 'not a route',
+            'callable' => 'getFunction',
+        ],
+    ];
+}