Skip to content

Commit 72babf2

Browse files
committed
#10834: Signing in after selecting checkout button, will not end up to checkout page
1 parent fe1b4b1 commit 72babf2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dev/tests/integration/testsuite/Magento/Customer/Controller/AccountTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -663,17 +663,17 @@ public function testWrongConfirmationEditPostAction()
663663
/**
664664
* Test redirect customer to account dashboard after logging in.
665665
*
666-
* @param bool|null $redirectDashboardValue
666+
* @param bool|null $redirectDashboard
667667
* @param string $redirectUrl
668668
* @magentoDbIsolation enabled
669669
* @magentoAppIsolation enabled
670670
* @magentoDataFixture Magento/Customer/_files/customer.php
671671
* @dataProvider loginPostRedirectDataProvider
672672
*/
673-
public function testLoginPostRedirect($redirectDashboardValue, string $redirectUrl)
673+
public function testLoginPostRedirect($redirectDashboard, string $redirectUrl)
674674
{
675-
if (isset($redirectDashboardValue)) {
676-
$this->_objectManager->get(ScopeConfigInterface::class)->setValue('customer/startup/redirect_dashboard', $redirectDashboardValue);
675+
if (isset($redirectDashboard)) {
676+
$this->_objectManager->get(ScopeConfigInterface::class)->setValue('customer/startup/redirect_dashboard', $redirectDashboard);
677677
}
678678

679679
$this->_objectManager->get(Redirect::class)->setRedirectCookie('test');

0 commit comments

Comments
 (0)