Skip to content

Commit 170c5c6

Browse files
committed
chore: cleanup
1 parent 7144f4f commit 170c5c6

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

coderd/insights_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ func TestTemplateInsights_Golden(t *testing.T) {
669669
ActiveVersionID: version.ID,
670670
OrganizationID: firstUser.OrganizationID,
671671
CreatedBy: firstUser.UserID,
672-
UseClassicParameterFlow: true,
672+
UseClassicParameterFlow: true, // Required for testing classic parameter flow behavior
673673
GroupACL: database.TemplateACL{
674674
firstUser.OrganizationID.String(): db2sdk.TemplateRoleActions(codersdk.TemplateRoleUse),
675675
},

site/src/modules/workspaces/ClassicParameterFlowDeprecationWarning/ClassicParameterFlowDeprecationWarning.test.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@ jest.mock("modules/navigation", () => ({
88

99
describe("ClassicParameterFlowDeprecationWarning", () => {
1010
const defaultProps = {
11-
enabled: true,
1211
organizationName: "test-org",
1312
templateName: "test-template",
14-
canUpdateTemplate: true,
1513
};
1614

1715
it("renders warning when enabled and user has template update permissions", () => {

0 commit comments

Comments
 (0)