Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit a5f1902

Browse files
Oleksii Korshenkoishakhsuvarov
authored andcommitted
magento/magento2#11876: After logging in customer is now not redirecting to Customer Dashboard by default
- fixed code style
1 parent 6cc7b68 commit a5f1902

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -681,8 +681,10 @@ public function testWrongConfirmationEditPostAction()
681681
public function testLoginPostRedirect($redirectDashboard, string $redirectUrl)
682682
{
683683
if (isset($redirectDashboard)) {
684-
$this->_objectManager->get(ScopeConfigInterface::class)->setValue('customer/startup/redirect_dashboard',
685-
$redirectDashboard);
684+
$this->_objectManager->get(ScopeConfigInterface::class)->setValue(
685+
'customer/startup/redirect_dashboard',
686+
$redirectDashboard
687+
);
686688
}
687689
$this->_objectManager->get(Redirect::class)->setRedirectCookie('test');
688690
$configValue = $this->_objectManager->create(Value::class);

0 commit comments

Comments
 (0)