Skip to content

Commit

Permalink
fix: correct integration tests for gcp
Browse files Browse the repository at this point in the history
  • Loading branch information
ipcrm committed Apr 8, 2024
1 parent 894814b commit 81b5eec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions integration/framework_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ func runFakeTerminalTestFromDir(t *testing.T, dir string, conditions func(*expec
cmd.Stdout = console.Tty()
cmd.Stderr = console.Tty()
err = cmd.Start()
assert.Nil(t, err)
assert.NoError(t, err)

// read the remaining bytes
console.Tty().Close()
Expand Down Expand Up @@ -491,7 +491,7 @@ func TestMain(m *testing.M) {
func terraformInstall() {
installer := &releases.ExactVersion{
Product: product.Terraform,
Version: version.Must(version.NewVersion("1.3.4")),
Version: version.Must(version.NewVersion("1.4.7")),
}

_execPath, err := installer.Install(context.Background())
Expand Down
2 changes: 1 addition & 1 deletion integration/gcp_generation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
)

const (
organizationId = "org-1"
organizationId = "1"
projectId = "project-1"
gcpPath = "/lacework/gcp/"
)
Expand Down
2 changes: 1 addition & 1 deletion integration/gke_generation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
)

const (
gkeOrgId = "org-1"
gkeOrgId = "1"
gkeProjId = "project-1"
gkePath = "/lacework/gke/"
)
Expand Down

0 comments on commit 81b5eec

Please sign in to comment.