Skip to content

Commit eaf5f0e

Browse files
committed
add back random tag
1 parent 98e6318 commit eaf5f0e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cli/provisionerjobs_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import (
1919
"github.com/coder/coder/v2/coderd/database/dbtestutil"
2020
"github.com/coder/coder/v2/coderd/rbac"
2121
"github.com/coder/coder/v2/codersdk"
22+
"github.com/coder/coder/v2/provisionersdk"
2223
"github.com/coder/coder/v2/testutil"
2324
)
2425

@@ -58,6 +59,7 @@ func TestProvisionerJobs(t *testing.T) {
5859
Input: input,
5960
Type: jobType,
6061
StartedAt: sql.NullTime{Time: coderdAPI.Clock.Now().Add(-time.Minute), Valid: true},
62+
Tags: database.StringMap{provisionersdk.TagOwner: "", provisionersdk.TagScope: provisionersdk.ScopeOrganization, "foo": uuid.NewString()},
6163
})
6264
}
6365

0 commit comments

Comments
 (0)