Fixed tests

This commit is contained in:
snipe 2019-02-13 21:59:24 -08:00
parent d893837c86
commit 794bc45cc0

View file

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