Skip to content

Commit aef1353

Browse files
committed
Merge pull request hashicorp#4573 from hashicorp/b-more-azure-acceptance-tests
provider/azure: More fixes to acceptance tests
2 parents 7cd955e + 4090e76 commit aef1353

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

builtin/providers/azure/resource_azure_instance_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ func testAccCheckAzureInstanceAdvancedAttributes(
224224
return fmt.Errorf("Bad name: %s", dpmt.Name)
225225
}
226226

227-
if dpmt.VirtualNetworkName != "terraform-vnet" {
227+
if dpmt.VirtualNetworkName != "terraform-vnet-advanced-test" {
228228
return fmt.Errorf("Bad virtual network: %s", dpmt.VirtualNetworkName)
229229
}
230230

builtin/providers/azure/resource_azure_storage_service_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func TestAccAzureStorageService(t *testing.T) {
2020
Config: testAccAzureStorageServiceConfig,
2121
Check: resource.ComposeTestCheckFunc(
2222
testAccAzureStorageServiceExists(name),
23-
resource.TestCheckResourceAttr(name, "name", "tftesting_dis"),
23+
resource.TestCheckResourceAttr(name, "name", "tftestingdis"),
2424
resource.TestCheckResourceAttr(name, "location", "West US"),
2525
resource.TestCheckResourceAttr(name, "description", "very descriptive"),
2626
resource.TestCheckResourceAttr(name, "account_type", "Standard_LRS"),
@@ -70,7 +70,7 @@ func testAccAzureStorageServiceDestroyed(s *terraform.State) error {
7070
var testAccAzureStorageServiceConfig = `
7171
resource "azure_storage_service" "foo" {
7272
# NOTE: storage service names constrained to lowercase letters only.
73-
name = "tftesting_dis"
73+
name = "tftestingdis"
7474
location = "West US"
7575
description = "very descriptive"
7676
account_type = "Standard_LRS"

0 commit comments

Comments
 (0)