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 7a80ba6 commit 3a7e555Copy full SHA for 3a7e555
test/phpunit/AuthenticatorTest.php
@@ -296,4 +296,19 @@ public function testCompleteAuth() {
296
$newSessionData->getUserData()
297
);
298
}
299
+
300
+ public function testCompleteAuthNotAffectedByQueryString() {
301
+ $redirectHandler = self::createMock(RedirectHandler::class);
302
+ $redirectHandler->expects(self::never())
303
+ ->method("redirect");
304
+ $_SESSION = [];
305
306
+ new Authenticator(
307
+ "test-key",
308
+ "/example-path?filter=something",
309
+ AuthUri::DEFAULT_BASE_URI,
310
+ null,
311
+ $redirectHandler
312
+ );
313
+ }
314
0 commit comments