Skip to content

Commit 8271a9f

Browse files
author
Matt Cadorette
authored
fix: correct integration tests for gcp (#1612)
1 parent 259b911 commit 8271a9f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

integration/framework_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ func runFakeTerminalTestFromDir(t *testing.T, dir string, conditions func(*expec
373373
cmd.Stdout = console.Tty()
374374
cmd.Stderr = console.Tty()
375375
err = cmd.Start()
376-
assert.Nil(t, err)
376+
assert.NoError(t, err)
377377

378378
// read the remaining bytes
379379
console.Tty().Close()
@@ -491,7 +491,7 @@ func TestMain(m *testing.M) {
491491
func terraformInstall() {
492492
installer := &releases.ExactVersion{
493493
Product: product.Terraform,
494-
Version: version.Must(version.NewVersion("1.3.4")),
494+
Version: version.Must(version.NewVersion("1.4.7")),
495495
}
496496

497497
_execPath, err := installer.Install(context.Background())

integration/gcp_generation_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
)
1616

1717
const (
18-
organizationId = "org-1"
18+
organizationId = "1"
1919
projectId = "project-1"
2020
gcpPath = "/lacework/gcp/"
2121
)

integration/gke_generation_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
)
1717

1818
const (
19-
gkeOrgId = "org-1"
19+
gkeOrgId = "1"
2020
gkeProjId = "project-1"
2121
gkePath = "/lacework/gke/"
2222
)

0 commit comments

Comments
 (0)