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 41f86fe commit 5d0dd8cCopy full SHA for 5d0dd8c
tests/system/HTTP/IncomingRequestTest.php
@@ -760,7 +760,7 @@ public function testIsSecureForwarded(): void
760
761
public function testUserAgent(): void
762
{
763
- $_SERVER['HTTP_USER_AGENT'] = 'Mozilla';
+ service('superglobals')->setServer('HTTP_USER_AGENT', 'Mozilla');
764
765
$config = new App();
766
$request = $this->createRequest($config);
0 commit comments