Skip to content

Commit

Permalink
chore(tests): getting annoyed
Browse files Browse the repository at this point in the history
  • Loading branch information
hnrkndrssn committed Aug 12, 2024
1 parent 4acd156 commit 9c055c9
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions octopusdeploy_framework/datasource_environments_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func TestAccDataSourceEnvironments(t *testing.T) {
environmentLocalName := acctest.RandStringFromCharSet(20, acctest.CharSetAlpha)
environmentName := acctest.RandStringFromCharSet(20, acctest.CharSetAlpha)

take := 10
//take := 10

resource.Test(t, resource.TestCase{
ProtoV6ProviderFactories: ProtoV6ProviderFactories(),
Expand All @@ -29,18 +29,18 @@ func TestAccDataSourceEnvironments(t *testing.T) {
),
Config: testAccDataSourceEnvironmentsEmpty(localName),
},
{
Check: resource.ComposeTestCheckFunc(
testAccCheckEnvironmentsDataSourceID(prefix),
resource.TestCheckResourceAttr(prefix, "environments.#", "3"),
),
Config: fmt.Sprintf(`%s
%s`,
createTestAccDataSourceEnvironmentsConfig(environmentLocalName, environmentName),
testAccDataSourceEnvironmentsConfig(localName, take),
),
},
// {
// Check: resource.ComposeTestCheckFunc(
// testAccCheckEnvironmentsDataSourceID(prefix),
// resource.TestCheckResourceAttr(prefix, "environments.#", "3"),
// ),
// Config: fmt.Sprintf(`%s

// %s`,
// createTestAccDataSourceEnvironmentsConfig(environmentLocalName, environmentName),
// testAccDataSourceEnvironmentsConfig(localName, take),
// ),
// },
{
Check: resource.ComposeTestCheckFunc(
testAccCheckEnvironmentsDataSourceID(prefix),
Expand Down

0 comments on commit 9c055c9

Please sign in to comment.