Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
linting
  • Loading branch information
Emyrk committed Jun 21, 2024
commit 956b5a297b09a2be9aa79c6c753d93ea41c41972
1 change: 1 addition & 0 deletions enterprise/cli/templatecreate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ func TestTemplateCreate(t *testing.T) {

ctx := testutil.Context(t, testutil.WaitMedium)

//nolint:gocritic // owner required to make custom roles
orgTemplateAdminRole, err := ownerClient.PatchOrganizationRole(ctx, secondOrg.ID, codersdk.Role{
Name: "org-template-admin",
OrganizationID: secondOrg.ID.String(),
Expand Down
1 change: 1 addition & 0 deletions enterprise/coderd/templates_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,7 @@ func TestTemplates(t *testing.T) {
IncludeProvisionerDaemon: true,
})

//nolint:gocritic // owner required to make custom roles
orgTemplateAdminRole, err := ownerClient.PatchOrganizationRole(ctx, secondOrg.ID, codersdk.Role{
Name: "org-template-admin",
OrganizationID: secondOrg.ID.String(),
Expand Down