Skip to content

Commit 791b2aa

Browse files
author
Michael Logvin
committed
MAGETWO-37614: Stabilize story
1 parent 9084182 commit 791b2aa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ public function testCreatepasswordAction()
7474
$token = Bootstrap::getObjectManager()->get('Magento\Framework\Math\Random')
7575
->getUniqueHash();
7676
$customer->changeResetPasswordLinkToken($token);
77+
$customer->save();
7778

7879
$this->getRequest()->setParam('token', $token);
7980
$this->getRequest()->setParam('id', $customer->getId());
@@ -95,6 +96,7 @@ public function testCreatepasswordActionInvalidToken()
9596
$token = Bootstrap::getObjectManager()->get('Magento\Framework\Math\Random')
9697
->getUniqueHash();
9798
$customer->changeResetPasswordLinkToken($token);
99+
$customer->save();
98100

99101
$this->getRequest()->setParam('token', 'INVALIDTOKEN');
100102
$this->getRequest()->setParam('id', $customer->getId());

0 commit comments

Comments
 (0)