diff --git a/.phive/phars.xml b/.phive/phars.xml index d311bfa..a655ee4 100644 --- a/.phive/phars.xml +++ b/.phive/phars.xml @@ -1,5 +1,5 @@ - + diff --git a/tests/TestCase/Middleware/UnauthorizedHandler/RedirectHandlerTest.php b/tests/TestCase/Middleware/UnauthorizedHandler/RedirectHandlerTest.php index dc45d8c..b18f286 100644 --- a/tests/TestCase/Middleware/UnauthorizedHandler/RedirectHandlerTest.php +++ b/tests/TestCase/Middleware/UnauthorizedHandler/RedirectHandlerTest.php @@ -52,7 +52,7 @@ public function testHandleRedirectionWithQuery() $request = ServerRequestFactory::fromGlobals( [ 'REQUEST_METHOD' => 'GET', - 'PATH_INFO' => '/path', + 'REQUEST_URI' => '/path', 'QUERY_STRING' => 'key=value', ] ); @@ -110,7 +110,7 @@ public function testHandleRedirectionIgnoreNonIdempotentMethods($method) $request = ServerRequestFactory::fromGlobals( [ 'REQUEST_METHOD' => $method, - 'PATH_INFO' => '/path', + 'REQUEST_URI' => '/path', 'QUERY_STRING' => 'key=value', ] );