Skip to content

Commit

Permalink
Update version in test to match
Browse files Browse the repository at this point in the history
  • Loading branch information
eveld committed Oct 17, 2024
1 parent 2fcb88f commit a786d8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/config/resources/terraform/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func TestCreatesTerraformContainerWithTheCorrectValues(t *testing.T) {
ID: "Abc123",
},
},
Version: "1.16.2",
Version: "1.9.8",
Source: "../../../../examples/terraform/workspace",
}

Expand All @@ -87,7 +87,7 @@ func TestCreatesTerraformContainerWithTheCorrectValues(t *testing.T) {
require.Equal(t, c.Environment["TF_PLUGIN_CACHE_DIR"], "/var/lib/terraform.d")

// check the correct image is used
require.Equal(t, c.Image.Name, "hashicorp/terraform:1.16.2")
require.Equal(t, c.Image.Name, "hashicorp/terraform:1.9.8")

// check the networks have been added
require.Equal(t, c.Networks[0].ID, "Abc123")
Expand Down

0 comments on commit a786d8a

Please sign in to comment.