We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b220d60 commit 0b04489Copy full SHA for 0b04489
tests/system/HTTP/ResponseTest.php
@@ -30,13 +30,14 @@ final class ResponseTest extends CIUnitTestCase
30
31
protected function setUp(): void
32
{
33
+ $_SERVER = [];
34
+ Services::reset();
35
+
36
parent::setUp();
- $this->server = $_SERVER;
37
}
38
39
protected function tearDown(): void
40
- $_SERVER = $this->server;
41
Factories::reset('config');
42
43
tests/system/HTTP/URITest.php
@@ -26,6 +26,9 @@ final class URITest extends CIUnitTestCase
26
27
28
29
+ $_SERVER['SCRIPT_NAME'] = 'index.php';
0 commit comments