Skip to content

Commit 4b1f2f0

Browse files
author
Cari Spruiell
committed
MAGETWO-37821: Wrong message is displayed after exceeding maximum login failures attempts
- fix variable name
1 parent 4a6875e commit 4b1f2f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/tests/functional/tests/app/Magento/User/Test/Constraint/AssertUserFailedLoginMessage.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ public function processAssert(
3333
$adminAuth->getLoginBlock()->submit();
3434

3535
\PHPUnit_Framework_Assert::assertEquals(
36-
self::INVALID_CREDENTIALS_MESSAGE,
36+
self::FAILED_LOGIN_MESSAGE,
3737
$adminAuth->getMessagesBlock()->getErrorMessages(),
38-
'Message "' . self::INVALID_CREDENTIALS_MESSAGE . '" is not visible.'
38+
'Message "' . self::FAILED_LOGIN_MESSAGE . '" is not visible.'
3939
);
4040
}
4141

0 commit comments

Comments
 (0)