Skip to content

Commit

Permalink
Remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartleeks committed Sep 16, 2019
1 parent 6d31eb9 commit 74466a1
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions azurerm/resource_arm_storage_management_policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,11 @@ package azurerm

import (
"fmt"
// "net/http"
// "os"
// "regexp"
"testing"

// "github.com/terraform-providers/terraform-provider-azurerm/azurerm/helpers/validate"

"github.com/hashicorp/terraform/helper/acctest"
"github.com/hashicorp/terraform/helper/resource"
// "github.com/hashicorp/terraform/terraform"

"github.com/terraform-providers/terraform-provider-azurerm/azurerm/helpers/tf"
)

Expand Down Expand Up @@ -66,6 +61,7 @@ func TestAccAzureRMStorageManagementPolicy_multipleRule(t *testing.T) {
Config: config,
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr(resourceName, "rule.#", "2"),

// Rule1
resource.TestCheckResourceAttr(resourceName, "rule.0.name", "rule1"),
resource.TestCheckResourceAttr(resourceName, "rule.0.enabled", "true"),
Expand All @@ -82,6 +78,7 @@ func TestAccAzureRMStorageManagementPolicy_multipleRule(t *testing.T) {
resource.TestCheckResourceAttr(resourceName, "rule.0.actions.0.base_blob.0.delete_after_days_since_modification_greater_than", "100"),
resource.TestCheckResourceAttr(resourceName, "rule.0.actions.0.snapshot.#", "1"),
resource.TestCheckResourceAttr(resourceName, "rule.0.actions.0.snapshot.0.delete_after_days_since_creation_greater_than", "30"),

// Rule2
resource.TestCheckResourceAttr(resourceName, "rule.1.name", "rule2"),
resource.TestCheckResourceAttr(resourceName, "rule.1.enabled", "false"),
Expand Down

0 comments on commit 74466a1

Please sign in to comment.