Skip to content

Commit

Permalink
notificationhub: fixing the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tombuildsstuff committed Feb 13, 2020
1 parent ca70b67 commit 4483bd5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -355,10 +355,7 @@ resource "azurerm_notification_hub_namespace" "test" {
resource_group_name = "${azurerm_resource_group.test.name}"
location = "${azurerm_resource_group.test.location}"
namespace_type = "NotificationHub"
sku {
name = "Free"
}
sku_name = "Free"
}
resource "azurerm_notification_hub" "test" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,7 @@ resource "azurerm_notification_hub_namespace" "test" {
resource_group_name = "${azurerm_resource_group.test.name}"
location = "${azurerm_resource_group.test.location}"
namespace_type = "NotificationHub"
sku {
name = "Free"
}
sku_name = "Free"
}
resource "azurerm_notification_hub" "test" {
Expand All @@ -144,10 +141,11 @@ func testAccAzureRMNotificationHub_requiresImport(data acceptance.TestData) stri
%s
resource "azurerm_notification_hub" "import" {
name = "${azurerm_notification_hub.test.name}"
namespace_name = "${azurerm_notification_hub.test.namespace_name}"
resource_group_name = "${azurerm_notification_hub.test.resource_group_name}"
location = "${azurerm_notification_hub.test.location}"
name = azurerm_notification_hub.test.name
namespace_name = azurerm_notification_hub.test.namespace_name
resource_group_name = azurerm_notification_hub.test.resource_group_name
location = azurerm_notification_hub.test.location
sku_name = azurerm_notification_hub.test.sku_name
}
`, template)
}

0 comments on commit 4483bd5

Please sign in to comment.