Skip to content

Commit

Permalink
Update to create octoClient with version in terraform go.mod
Browse files Browse the repository at this point in the history
  • Loading branch information
HuyPhanNguyen committed Dec 6, 2024
1 parent a1c694b commit cdb5bf7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions octopusdeploy_framework/testing_container_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ func TestMain(m *testing.M) {
if *createSharedContainer {

testFramework := test.OctopusContainerTest{}
octoContainer, octoClient, sqlServerContainer, network, err = testFramework.ArrangeContainer()
octoContainer, _, sqlServerContainer, network, err = testFramework.ArrangeContainer()
if err != nil {
log.Printf("Failed to arrange containers: (%s)", err.Error())
}

os.Setenv("OCTOPUS_URL", octoContainer.URI)
os.Setenv("OCTOPUS_APIKEY", test.ApiKey)

octoClient, err = octoclient.CreateClient(octoContainer.URI, "", test.ApiKey)
code := m.Run()
ctx := context.Background()

Expand Down

0 comments on commit cdb5bf7

Please sign in to comment.