Fix some speling and a test

This commit is contained in:
Jeff Mitchell committed 2020-08-07 21:14:07 -04:00
1 parent 99ed9d9b0c
commit 6a21e8dedb
1 file changed
+3 -3
@@ -117,17 +117,17 @@ func TestRepository_CreateAccount(t *testing.T) {
wantIsErr: db.ErrInvalidParameter,
},
{
name: "invalid-username-to-short",
name: "invalid-username-too-short",
in: &Account{
Account: &store.Account{
AuthMethodId: authMethod.PublicId,
UserName: "kaz",
UserName: "ka",
},
},
wantIsErr: ErrTooShort,
},
{
name: "invalid-password-to-short",
name: "invalid-password-too-short",
in: &Account{
Account: &store.Account{
AuthMethodId: authMethod.PublicId,