Fixed group functional test

(We had changed the minimum to 2 instead of 3)

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2020-05-11 17:53:24 -07:00
parent 31c5350941
commit 0fd232e70d
No known key found for this signature in database
GPG key ID: 10BFFDA3ED34B5AC

View file

@ -39,7 +39,7 @@ class GroupsCest
$I->wantTo("Test Validation Fails with short name"); $I->wantTo("Test Validation Fails with short name");
$I->amOnPage(route('groups.create')); $I->amOnPage(route('groups.create'));
$I->seeResponseCodeIs(200); $I->seeResponseCodeIs(200);
$I->fillField('name', 't2'); $I->fillField('name', 't');
$I->click('Save'); $I->click('Save');
$I->seeElement('.alert-danger'); $I->seeElement('.alert-danger');
$I->see('The name must be at least 3 characters', '.alert-msg'); $I->see('The name must be at least 3 characters', '.alert-msg');