We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22d0363 commit 11cbd20Copy full SHA for 11cbd20
1 file changed
tests/helpers/RequestParserTest.php
@@ -91,7 +91,11 @@ public function testFromSuperglobals_WithPhpInputStream() {
91
}
92
93
public function testFromSuperglobals_WithoutServerContext() {
94
- $_SERVER = [];
+ unset($_SERVER['REQUEST_SCHEME']);
95
+ unset($_SERVER['HTTP_HOST']);
96
+ unset($_SERVER['REQUEST_URI']);
97
+ unset($_SERVER['CONTENT_TYPE']);
98
+
99
$_GET = [];
100
$_POST = [];
101
0 commit comments