Skip to content

Commit c065742

Browse files
committed
Add linting
1 parent 1ce410f commit c065742

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

enterprise/coderd/provisionerdaemons_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -954,6 +954,7 @@ func TestGetProvisionerDaemons(t *testing.T) {
954954

955955
daemonCreatedAt := time.Now()
956956

957+
//nolint:gocritic // We're not testing auth on the following in this test
957958
provisionerKey, err := db.InsertProvisionerKey(dbauthz.AsSystemRestricted(ctx), database.InsertProvisionerKeyParams{
958959
Name: "Test Provisioner Key",
959960
ID: uuid.New(),
@@ -964,6 +965,7 @@ func TestGetProvisionerDaemons(t *testing.T) {
964965
})
965966
require.NoError(t, err, "should be able to create a provisioner key")
966967

968+
//nolint:gocritic // We're not testing auth on the following in this test
967969
pd, err := db.UpsertProvisionerDaemon(dbauthz.AsSystemRestricted(ctx), database.UpsertProvisionerDaemonParams{
968970
CreatedAt: daemonCreatedAt,
969971
Name: "Test Provisioner Daemon",

0 commit comments

Comments
 (0)