provider/aws: Clear up test failure for TestAccAWSVpnGateway_disappears

This commit is contained in:
clint shryock 2016-08-22 14:56:07 -05:00
parent 29e6570df8
commit 03bdf1375e
1 changed files with 3 additions and 4 deletions

View File

@ -62,10 +62,9 @@ func TestAccAWSVpnGateway_disappears(t *testing.T) {
var v ec2.VpnGateway
resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
IDRefreshName: "aws_vpn_gateway.foo",
Providers: testAccProviders,
CheckDestroy: testAccCheckVpnGatewayDestroy,
PreCheck: func() { testAccPreCheck(t) },
Providers: testAccProviders,
CheckDestroy: testAccCheckVpnGatewayDestroy,
Steps: []resource.TestStep{
resource.TestStep{
Config: testAccVpnGatewayConfig,