Skip to content

Commit 51f1304

Browse files
committed
adjust tests to use new REQUEST_URI
1 parent 4013613 commit 51f1304

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/TestCase/Middleware/UnauthorizedHandler/RedirectHandlerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function testHandleRedirectionWithQuery()
5252
$request = ServerRequestFactory::fromGlobals(
5353
[
5454
'REQUEST_METHOD' => 'GET',
55-
'PATH_INFO' => '/path',
55+
'REQUEST_URI' => '/path',
5656
'QUERY_STRING' => 'key=value',
5757
]
5858
);
@@ -110,7 +110,7 @@ public function testHandleRedirectionIgnoreNonIdempotentMethods($method)
110110
$request = ServerRequestFactory::fromGlobals(
111111
[
112112
'REQUEST_METHOD' => $method,
113-
'PATH_INFO' => '/path',
113+
'REQUEST_URI' => '/path',
114114
'QUERY_STRING' => 'key=value',
115115
]
116116
);

0 commit comments

Comments
 (0)