Skip to content

Commit

Permalink
magento#10834: Signing in after selecting checkout button, will not e…
Browse files Browse the repository at this point in the history
…nd up to checkout page
  • Loading branch information
p-bystritsky committed Nov 1, 2017
1 parent fe1b4b1 commit 72babf2
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 72babf2

Please sign in to comment.