Skip to content

Commit

Permalink
chore: reflected recent changes made to worker pools
Browse files Browse the repository at this point in the history
  • Loading branch information
jbristowe committed Dec 5, 2022
1 parent 7ea4363 commit d98df30
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions octopusdeploy/resource_dynamic_worker_pool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"testing"

"github.com/OctopusDeploy/go-octopusdeploy/v2/pkg/client"
"github.com/OctopusDeploy/go-octopusdeploy/v2/pkg/workerpools"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
Expand All @@ -17,7 +16,7 @@ func TestAccOctopusDeployDynamicWorkerPoolBasic(t *testing.T) {
prefix := "octopusdeploy_dynamic_worker_pool." + localName

name := acctest.RandStringFromCharSet(20, acctest.CharSetAlpha)
workerType := workerpools.WorkerType("UbuntuDefault")
workerType := "UbuntuDefault"
description := acctest.RandStringFromCharSet(20, acctest.CharSetAlpha)
isDefault := false
sortOrder := acctest.RandIntRange(50, 100)
Expand Down Expand Up @@ -45,7 +44,7 @@ func TestAccOctopusDeployDynamicWorkerPoolBasic(t *testing.T) {
func testDynamicWorkerPoolBasic(
localName string,
name string,
workerType workerpools.WorkerType,
workerType string,
description string,
isDefault bool,
sortOrder int,
Expand Down

0 comments on commit d98df30

Please sign in to comment.