From c4ea70e14fea2036b14f7a46caed6a3782d63e36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Noco=C5=84?= Date: Wed, 27 Sep 2023 11:46:14 +0200 Subject: [PATCH] Nested UnauthenticatedLoginRedirect route --- src/bundle/Resources/config/routing.yaml | 2 +- src/lib/Browser/Page/RedirectLoginPage.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bundle/Resources/config/routing.yaml b/src/bundle/Resources/config/routing.yaml index 1d07c7df..05485f36 100644 --- a/src/bundle/Resources/config/routing.yaml +++ b/src/bundle/Resources/config/routing.yaml @@ -9,6 +9,6 @@ ibexa.behat.current_user_data: _controller: 'Ibexa\Bundle\Behat\Controller\CurrentUserDataController::showCurrentUserAction' ibexa_testing_login_redirect: - path: '/unauthenticated_login_redirect' + path: '/unauthenticated/login_redirect' defaults: _controller: 'Ibexa\Bundle\Behat\Controller\UnauthenticatedRedirectController::redirectAction' diff --git a/src/lib/Browser/Page/RedirectLoginPage.php b/src/lib/Browser/Page/RedirectLoginPage.php index 996fb756..7a1112ba 100644 --- a/src/lib/Browser/Page/RedirectLoginPage.php +++ b/src/lib/Browser/Page/RedirectLoginPage.php @@ -33,6 +33,6 @@ public function loginSuccessfully($username, $password): void protected function getRoute(): string { - return '/unauthenticated_login_redirect'; + return '/unauthenticated/login_redirect'; } }