Skip to content

Commit 1a1334e

Browse files
committed
update db mock
1 parent 733dcd7 commit 1a1334e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

coderd/wsbuilder/wsbuilder_test.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -894,10 +894,11 @@ func withTemplate(mTx *dbmock.MockStore) {
894894
mTx.EXPECT().GetTemplateByID(gomock.Any(), templateID).
895895
Times(1).
896896
Return(database.Template{
897-
ID: templateID,
898-
OrganizationID: orgID,
899-
Provisioner: database.ProvisionerTypeTerraform,
900-
ActiveVersionID: activeVersionID,
897+
ID: templateID,
898+
OrganizationID: orgID,
899+
Provisioner: database.ProvisionerTypeTerraform,
900+
ActiveVersionID: activeVersionID,
901+
UseClassicParameterFlow: true,
901902
}, nil)
902903
}
903904

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy