Skip to content

Commit 11476e7

Browse files
committed
fix: out-of-dated parameters
1 parent 6640df4 commit 11476e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Test/ControllerTestTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ protected function setUpControllerTestTrait(): void
100100
}
101101

102102
if (! $this->uri instanceof URI) {
103-
$factory = Services::siteurifactory($_SERVER, $this->appConfig, false);
103+
$factory = Services::siteurifactory($this->appConfig, Services::superglobals(), false);
104104
$this->uri = $factory->createFromGlobals();
105105
}
106106

0 commit comments

Comments
 (0)