Skip to content

Commit

Permalink
updated test config
Browse files Browse the repository at this point in the history
  • Loading branch information
katbyte committed Feb 27, 2019
1 parent 2444f1c commit 035b107
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions azurerm/resource_arm_api_management_product_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func TestAccAzureRMApiManagementProduct_update(t *testing.T) {
Config: testAccAzureRMApiManagementProduct_updated(ri, location),
Check: resource.ComposeTestCheckFunc(
testCheckAzureRMApiManagementProductExists(resourceName),
resource.TestCheckResourceAttr(resourceName, "approval_required", "false"),
resource.TestCheckResourceAttr(resourceName, "approval_required", "true"),
resource.TestCheckResourceAttr(resourceName, "description", ""),
resource.TestCheckResourceAttr(resourceName, "display_name", "Test Updated Product"),
resource.TestCheckResourceAttr(resourceName, "product_id", "test-product"),
Expand Down Expand Up @@ -322,9 +322,9 @@ resource "azurerm_api_management_product" "test" {
api_management_name = "${azurerm_api_management.test.name}"
resource_group_name = "${azurerm_resource_group.test.name}"
display_name = "Test Updated Product"
subscription_required = false
approval_required = false
published = false
subscription_required = true
approval_required = true
published = true
}
`, rInt, location, rInt)
}
Expand Down

0 comments on commit 035b107

Please sign in to comment.