Skip to content

Commit 0a830dd

Browse files
committed
fix tests
1 parent cb7a9af commit 0a830dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ protected function mockRequest(string $method, string $url): void
3232
$urlParts = parse_url($url);
3333

3434
$_SERVER['SERVER_NAME'] = $urlParts['host'];
35-
$_SERVER['REQUEST_URI'] = $urlParts['path'] . '?' . $urlParts['query'] ?? '';
35+
$_SERVER['REQUEST_URI'] = $urlParts['path'] . '?' . ($urlParts['query'] ?? '');
3636
$_SERVER['REQUEST_METHOD'] = $method;
3737
}
3838

0 commit comments

Comments
 (0)