Fix some speling and a test
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user