Skip to content

Commit 6640b70

Browse files
committed
30179: resetPassword mutation returns generic error
- fix static error
1 parent e143f82 commit 6640b70

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/Customer/ResetPasswordTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,10 @@ public function testNewPasswordCheckMinLength()
225225
public function testNewPasswordCheckCharactersStrength()
226226
{
227227
$this->expectException(\Exception::class);
228-
$this->expectExceptionMessage('Minimum of different classes of characters in password is 3. Classes of characters: Lower Case, Upper Case, Digits, Special Characters.');
228+
$this->expectExceptionMessage(
229+
'Minimum of different classes of characters in password is 3. ' .
230+
'Classes of characters: Lower Case, Upper Case, Digits, Special Characters.'
231+
);
229232
$query = <<<QUERY
230233
mutation {
231234
resetPassword (

0 commit comments

Comments
 (0)