chore(authtoken): Fix lint errors in tests

This commit is contained in:
Timothy Messier committed 2024-02-23 16:06:36 +00:00
1 parent 2e69d59dd2
commit 4b0e7ab5a3
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -139,7 +139,8 @@ func TestAuthToken_DbCreate(t *testing.T) {
am := password.TestAuthMethods(t, conn, org.GetPublicId(), 1)[0]
acct := password.TestAccount(t, conn, am.GetPublicId(), "name1")
createdAuthToken := TestAuthToken(t, conn, kms, org.GetPublicId())
iamRepo.AddUserAccounts(ctx, user.GetPublicId(), user.GetVersion(), []string{acct.GetPublicId()})
_, err = iamRepo.AddUserAccounts(ctx, user.GetPublicId(), user.GetVersion(), []string{acct.GetPublicId()})
require.NoError(t, err)
testAuthTokenId := func() string {
id, err := NewAuthTokenId(ctx)