Skip to content

Commit

Permalink
fix(GROW-2950): all generation tests should use pub/sub
Browse files Browse the repository at this point in the history
  • Loading branch information
ipcrm committed Jun 13, 2024
1 parent 67115d0 commit bb1f4f0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions integration/gcp_generation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func TestGenerationGcpSimple(t *testing.T) {

assertTerraformSaved(t, final)

buildTf, _ := gcp.NewTerraform(false, true, true, false,
buildTf, _ := gcp.NewTerraform(false, true, true, true,
gcp.WithProjectId(projectId),
).Generate()
assert.Equal(t, buildTf, tfResult)
Expand Down Expand Up @@ -111,7 +111,7 @@ func TestGenerationGcpAgentless(t *testing.T) {

assertTerraformSaved(t, final)

buildTf, _ := gcp.NewTerraform(true, false, false, false,
buildTf, _ := gcp.NewTerraform(true, false, false, true,
gcp.WithProjectId(projectId),
gcp.WithOrganizationIntegration(true),
gcp.WithOrganizationId(organizationId),
Expand Down Expand Up @@ -149,7 +149,7 @@ func TestGenerationGcpConfig(t *testing.T) {

assertTerraformSaved(t, final)

buildTf, _ := gcp.NewTerraform(false, true, false, false,
buildTf, _ := gcp.NewTerraform(false, true, false, true,
gcp.WithProjectId(projectId),
).Generate()
assert.Equal(t, buildTf, tfResult)
Expand Down Expand Up @@ -183,7 +183,7 @@ func TestGenerationGcpAuditLog(t *testing.T) {

assertTerraformSaved(t, final)

buildTf, _ := gcp.NewTerraform(false, false, true, false,
buildTf, _ := gcp.NewTerraform(false, false, true, true,
gcp.WithProjectId(projectId),
).Generate()
assert.Equal(t, buildTf, tfResult)
Expand Down Expand Up @@ -1304,7 +1304,7 @@ func TestGenerationGcpMultipleProjects(t *testing.T) {

assertTerraformSaved(t, final)

buildTf, _ := gcp.NewTerraform(false, true, true, false,
buildTf, _ := gcp.NewTerraform(false, true, true, true,
gcp.WithProjectId(projectId),
gcp.WithMultipleProject(gcpProjects),
).Generate()
Expand Down

0 comments on commit bb1f4f0

Please sign in to comment.