diff --git a/pkg/iam/authorizer_unit_test.go b/pkg/iam/authorizer_unit_test.go index 1ad01187b..183d12567 100644 --- a/pkg/iam/authorizer_unit_test.go +++ b/pkg/iam/authorizer_unit_test.go @@ -354,7 +354,6 @@ func TestAuthorizer_BuildAuditLogEntry(t *testing.T) { } for _, tt := range tests { - tt := tt t.Run(tt.name, func(t *testing.T) { t.Parallel() diff --git a/pkg/iam/errors_test.go b/pkg/iam/errors_test.go index 76f1c2f2d..0f0952e0d 100644 --- a/pkg/iam/errors_test.go +++ b/pkg/iam/errors_test.go @@ -104,7 +104,6 @@ func TestAuthorizeRelatedErrors_Error(t *testing.T) { } for _, tt := range tests { - tt := tt t.Run(tt.name, func(t *testing.T) { t.Parallel() if tt.err.Error() != tt.want {