Skip to content

Commit

Permalink
Use correct expected value for worker name
Browse files Browse the repository at this point in the history
  • Loading branch information
denys-octopus committed Nov 19, 2024
1 parent e8cf610 commit a468fc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion octopusdeploy_framework/datasource_workers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func testAssertDataSourceListeningWorkers(prefix string) resource.TestCheckFunc
return resource.ComposeTestCheckFunc(
testAssertWorkersDataSourceID(prefix),
resource.TestCheckResourceAttr(prefix, "workers.#", "1"),
resource.TestCheckResourceAttr(prefix, "workers.0.name", "First SSH worker"),
resource.TestCheckResourceAttr(prefix, "workers.0.name", "Second listening worker"),
resource.TestCheckResourceAttr(prefix, "workers.0.uri", "https://domain.test/"),
resource.TestCheckResourceAttr(prefix, "workers.0.thumbprint", "absdef"),
)
Expand Down

0 comments on commit a468fc5

Please sign in to comment.