Skip to content

Commit 7847926

Browse files
author
Stanislav Idolov
committed
Merge remote-tracking branch 'origin/ENGCOM-1254-magento-magento2-14621' into 2.3-develop-prs
2 parents da7f8cb + 2b2baf0 commit 7847926

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/User/Test/Unit/Model/UserTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ public function testPerformIdentityCheck($verifyIdentityResult, $lockExpires)
782782
$this->expectExceptionMessage((string)__('Your account is temporarily disabled. Please try again later.'));
783783
}
784784

785-
if (!$verifyIdentityResult) {
785+
if (!$lockExpires && !$verifyIdentityResult) {
786786
$this->expectException(\Magento\Framework\Exception\AuthenticationException::class);
787787
$this->expectExceptionMessage(
788788
(string)__('The password entered for the current user is invalid. Verify the password and try again.')

0 commit comments

Comments
 (0)