Skip to content

A free open source IT asset/license management system

One more try to fix tests - confirmation won’t validate until password validates

snipec3c4ad1ae680
diff --git a/tests/functional/UsersCest.php b/tests/functional/UsersCest.php
index ed7bb7a8a3..40e8d7e7ff 100644
--- a/tests/functional/UsersCest.php
+++ b/tests/functional/UsersCest.php
@@ -39,11 +39,10 @@ class UsersCest
$I->fillField('first_name', 't2');
$I->fillField('last_name', 't2');
$I->fillField('username', 'a');
- $I->fillField('password', '12345'); // Must be 6 chars
+ $I->fillField('password', '12345');
$I->click('Save');
$I->seeElement('.alert-danger');
$I->see('The password must be at least 10 characters', '.alert-msg');
- $I->see('The password confirmation does not match.', '.alert-msg');
}
public function passesCorrectValidation(FunctionalTester $I)