Skip to content

Commit

Permalink
provider/azure: Fix acceptance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jen20 committed Jan 8, 2016
1 parent f4cf4e8 commit c3bcd6a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions builtin/providers/azure/resource_azure_instance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func TestAccAzureInstance_update(t *testing.T) {
resource.TestCheckResourceAttr(
"azure_instance.foo", "size", "Basic_A2"),
resource.TestCheckResourceAttr(
"azure_instance.foo", "security_group", "terraform-security-group2"),
"azure_instance.foo", "security_group", "terraform-security-update-group2"),
resource.TestCheckResourceAttr(
"azure_instance.foo", "endpoint.1814039778.public_port", "3389"),
resource.TestCheckResourceAttr(
Expand Down Expand Up @@ -338,7 +338,7 @@ func testAccCheckAzureInstanceUpdatedAttributes(
return fmt.Errorf("Bad name: %s", dpmt.Name)
}

if dpmt.VirtualNetworkName != "terraform-vnet" {
if dpmt.VirtualNetworkName != "terraform-vnet-update-test" {
return fmt.Errorf("Bad virtual network: %s", dpmt.VirtualNetworkName)
}

Expand Down Expand Up @@ -377,7 +377,7 @@ func testAccCheckAzureInstanceUpdatedAttributes(
return fmt.Errorf("Bad subnet: %s", c.SubnetNames[0])
}

if c.NetworkSecurityGroup != "terraform-security-group2" {
if c.NetworkSecurityGroup != "terraform-security-update-group2" {
return fmt.Errorf("Bad security group: %s", c.NetworkSecurityGroup)
}
}
Expand Down

0 comments on commit c3bcd6a

Please sign in to comment.