diff --git a/tests/functional/UsersCest.php b/tests/functional/UsersCest.php index 98722430b3..e859de4b17 100644 --- a/tests/functional/UsersCest.php +++ b/tests/functional/UsersCest.php @@ -42,8 +42,8 @@ class UsersCest $I->fillField('password', '12345'); // Must be 6 chars $I->click('Save'); $I->seeElement('.alert-danger'); - $I->see('The password must be at least 10 characters', '.alert-msg'); - $I->see('The password confirm field is required when password is present', '.alert-msg'); + $I->see('The password must be at least 5 characters', '.alert-msg'); + $I->see('The password confirmation does not match.', '.alert-msg'); } public function passesCorrectValidation(FunctionalTester $I)