Skip to content

Commit a3d18ea

Browse files
committed
Fix redirectAfterLogin test expectation
1 parent a95c6f5 commit a3d18ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/TestCase/Controller/Component/AuthenticationComponentTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ public function testRedirectAfterLogin(): void
420420
$component = new AuthenticationComponent($registry);
421421

422422
$response = $component->redirectAfterLogin($url);
423-
$this->assertSame('/ok/path?value=key', $response?->getHeaderLine('Location'));
423+
$this->assertSame('/cakephp/ok/path?value=key', $response?->getHeaderLine('Location'));
424424

425425
Configure::delete('App.base');
426426
}

0 commit comments

Comments
 (0)