Skip to content

Commit 851112f

Browse files
committed
remove duplicate provisioner job
1 parent 21cf501 commit 851112f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

support/support_test.go

-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import (
1313
"github.com/coder/coder/v2/coderd/coderdtest"
1414
"github.com/coder/coder/v2/coderd/database"
1515
"github.com/coder/coder/v2/coderd/database/dbfake"
16-
"github.com/coder/coder/v2/coderd/database/dbgen"
1716
"github.com/coder/coder/v2/coderd/database/dbtime"
1817
"github.com/coder/coder/v2/codersdk"
1918
"github.com/coder/coder/v2/support"
@@ -130,7 +129,6 @@ func setupWorkspaceAndAgent(ctx context.Context, t *testing.T, client *codersdk.
130129
agt := ws.LatestBuild.Resources[0].Agents[0]
131130

132131
// Insert a provisioner job log
133-
_ = dbgen.ProvisionerJob(t, db, nil, database.ProvisionerJob{ID: wbr.Build.JobID})
134132
_, err = db.InsertProvisionerJobLogs(ctx, database.InsertProvisionerJobLogsParams{
135133
JobID: wbr.Build.JobID,
136134
CreatedAt: []time.Time{dbtime.Now()},

0 commit comments

Comments
 (0)