@@ -32,6 +32,10 @@ protected function setUp(): void
3232 {
3333 $ this ->resetServices ();
3434 parent ::setUp ();
35+
36+ service ('superglobals ' )
37+ ->setServer ('HTTP_HOST ' , 'example.com ' )
38+ ->setServer ('SERVER_NAME ' , 'example.com ' );
3539 }
3640
3741 protected function tearDown (): void
@@ -68,6 +72,7 @@ public function testRoutesCommand(): void
6872 | GET | closure | » | (Closure) | | |
6973 | GET | testing | testing-index | \App\Controllers\TestController::index | | |
7074 | HEAD | testing | testing-index | \App\Controllers\TestController::index | | |
75+ | QUERY | testing | testing-index | \App\Controllers\TestController::index | | |
7176 | POST | testing | testing-index | \App\Controllers\TestController::index | | |
7277 | PATCH | testing | testing-index | \App\Controllers\TestController::index | | |
7378 | PUT | testing | testing-index | \App\Controllers\TestController::index | | |
@@ -104,6 +109,7 @@ public function testRoutesCommandSortByHandler(): void
104109 | GET | / | » | \App\Controllers\Home::index | | |
105110 | GET | testing | testing-index | \App\Controllers\TestController::index | | |
106111 | HEAD | testing | testing-index | \App\Controllers\TestController::index | | |
112+ | QUERY | testing | testing-index | \App\Controllers\TestController::index | | |
107113 | POST | testing | testing-index | \App\Controllers\TestController::index | | |
108114 | PATCH | testing | testing-index | \App\Controllers\TestController::index | | |
109115 | PUT | testing | testing-index | \App\Controllers\TestController::index | | |
@@ -133,6 +139,7 @@ public function testRoutesCommandHostHostname(): void
133139 | GET | all | » | \App\Controllers\AllDomain::index | | |
134140 | GET | testing | testing-index | \App\Controllers\TestController::index | | |
135141 | HEAD | testing | testing-index | \App\Controllers\TestController::index | | |
142+ | QUERY | testing | testing-index | \App\Controllers\TestController::index | | |
136143 | POST | testing | testing-index | \App\Controllers\TestController::index | | |
137144 | PATCH | testing | testing-index | \App\Controllers\TestController::index | | |
138145 | PUT | testing | testing-index | \App\Controllers\TestController::index | | |
@@ -162,6 +169,7 @@ public function testRoutesCommandHostSubdomain(): void
162169 | GET | all | » | \App\Controllers\AllDomain::index | | |
163170 | GET | testing | testing-index | \App\Controllers\TestController::index | | |
164171 | HEAD | testing | testing-index | \App\Controllers\TestController::index | | |
172+ | QUERY | testing | testing-index | \App\Controllers\TestController::index | | |
165173 | POST | testing | testing-index | \App\Controllers\TestController::index | | |
166174 | PATCH | testing | testing-index | \App\Controllers\TestController::index | | |
167175 | PUT | testing | testing-index | \App\Controllers\TestController::index | | |
@@ -193,6 +201,7 @@ public function testRoutesCommandAutoRouteImproved(): void
193201 | GET | closure | » | (Closure) | | |
194202 | GET | testing | testing-index | \App\Controllers\TestController::index | | |
195203 | HEAD | testing | testing-index | \App\Controllers\TestController::index | | |
204+ | QUERY | testing | testing-index | \App\Controllers\TestController::index | | |
196205 | POST | testing | testing-index | \App\Controllers\TestController::index | | |
197206 | PATCH | testing | testing-index | \App\Controllers\TestController::index | | |
198207 | PUT | testing | testing-index | \App\Controllers\TestController::index | | |
@@ -228,6 +237,7 @@ public function testRoutesCommandRouteLegacy(): void
228237 | GET | closure | » | (Closure) | | |
229238 | GET | testing | testing-index | \App\Controllers\TestController::index | | |
230239 | HEAD | testing | testing-index | \App\Controllers\TestController::index | | |
240+ | QUERY | testing | testing-index | \App\Controllers\TestController::index | | |
231241 | POST | testing | testing-index | \App\Controllers\TestController::index | | |
232242 | PATCH | testing | testing-index | \App\Controllers\TestController::index | | |
233243 | PUT | testing | testing-index | \App\Controllers\TestController::index | | |
0 commit comments