diff options
Diffstat (limited to 'tests/unit/Module/TestCase.php')
-rw-r--r-- | tests/unit/Module/TestCase.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit/Module/TestCase.php b/tests/unit/Module/TestCase.php index 1a4cf52fc..dd88a5a3b 100644 --- a/tests/unit/Module/TestCase.php +++ b/tests/unit/Module/TestCase.php @@ -43,6 +43,8 @@ class TestCase extends UnitTestCase { $_SERVER['REQUEST_METHOD'] = $method; $_SERVER['SERVER_PROTOCOL'] = 'HTTP/1.1'; $_SERVER['QUERY_STRING'] = "q={$uri}"; + $_SERVER['REQUEST_URI'] = $uri; + // phpcs:disable Generic.PHP.DisallowRequestSuperglobal.Found $_REQUEST = array_merge($_GET, $_POST); // phpcs::enable |