Skip to content

Commit 7880e9c

Browse files
committed
improve testing strategy and errors handling
1 parent b557c8a commit 7880e9c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

enterprise/coderd/provisionerkeys_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ func TestGetProvisionerKey(t *testing.T) {
172172
},
173173
})
174174

175-
// nolint:gocritic - ruleguard: This client is operating as the owner user, which has unrestricted permissions.
176175
key, err := client.CreateProvisionerKey(ctx, owner.OrganizationID, codersdk.CreateProvisionerKeyRequest{
177176
Name: "my-test-key",
178177
Tags: map[string]string{"key1": "value1", "key2": "value2"},

0 commit comments

Comments
 (0)