aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2022-09-05 08:40:47 +0000
committerElmar Ludwig <elmar.ludwig@uni-osnabrueck.de>2022-09-05 08:40:47 +0000
commit9d75d7b0bba4689738e086f773befde8919858ed (patch)
tree71e12e2e50cc9c2b21326503ab03d6e76b45eee8 /tests
parent126f4ebffab2c4dac5dd04fc78dcf0b2e097bbc6 (diff)
allow url parameters when no action is given, fixes #1538
Closes #1538 Merge request studip/studip!956
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/lib/classes/StudipControllerTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/lib/classes/StudipControllerTest.php b/tests/unit/lib/classes/StudipControllerTest.php
index f74eae4..5ded34e 100644
--- a/tests/unit/lib/classes/StudipControllerTest.php
+++ b/tests/unit/lib/classes/StudipControllerTest.php
@@ -243,6 +243,7 @@ final class StudipControllerTest extends Codeception\Test\Unit
{
return [
'0-action' => ['dispatch.php/studip_controller_test/foo'],
+ '0-action-and-parameter' => ['dispatch.php/studip_controller_test/foo?bar=42', '', ['bar' => 42]],
'1-action' => ['dispatch.php/foo', 'foo'],
'1-action-and-parameter' => ['dispatch.php/foo?bar=42', 'foo', ['bar' => 42]],
'1-action-and-parameters' => ['dispatch.php/foo?bar=42&baz=23', 'foo', ['bar' => 42, 'baz' => 23]],