From 72babf2a17926d2daca12184b63a7e7b7f2cdf72 Mon Sep 17 00:00:00 2001 From: Pavel Bystritsky Date: Wed, 1 Nov 2017 09:58:59 +0200 Subject: [PATCH] magento/magento2#10834: Signing in after selecting checkout button, will not end up to checkout page --- .../testsuite/Magento/Customer/Controller/AccountTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dev/tests/integration/testsuite/Magento/Customer/Controller/AccountTest.php b/dev/tests/integration/testsuite/Magento/Customer/Controller/AccountTest.php index 8cb1d896372a4..a01006a06a2e3 100644 --- a/dev/tests/integration/testsuite/Magento/Customer/Controller/AccountTest.php +++ b/dev/tests/integration/testsuite/Magento/Customer/Controller/AccountTest.php @@ -663,17 +663,17 @@ public function testWrongConfirmationEditPostAction() /** * Test redirect customer to account dashboard after logging in. * - * @param bool|null $redirectDashboardValue + * @param bool|null $redirectDashboard * @param string $redirectUrl * @magentoDbIsolation enabled * @magentoAppIsolation enabled * @magentoDataFixture Magento/Customer/_files/customer.php * @dataProvider loginPostRedirectDataProvider */ - public function testLoginPostRedirect($redirectDashboardValue, string $redirectUrl) + public function testLoginPostRedirect($redirectDashboard, string $redirectUrl) { - if (isset($redirectDashboardValue)) { - $this->_objectManager->get(ScopeConfigInterface::class)->setValue('customer/startup/redirect_dashboard', $redirectDashboardValue); + if (isset($redirectDashboard)) { + $this->_objectManager->get(ScopeConfigInterface::class)->setValue('customer/startup/redirect_dashboard', $redirectDashboard); } $this->_objectManager->get(Redirect::class)->setRedirectCookie('test');