From b88098b51159da5e8e4b519b5a97db94ecefdd09 Mon Sep 17 00:00:00 2001 From: Ola Karlsson Date: Fri, 28 Apr 2017 05:37:12 +0000 Subject: [PATCH] Messed up the CheckDestroy attributes. --- builtin/providers/google/import_compute_route_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builtin/providers/google/import_compute_route_test.go b/builtin/providers/google/import_compute_route_test.go index 1eedeb79e..71e8b004a 100644 --- a/builtin/providers/google/import_compute_route_test.go +++ b/builtin/providers/google/import_compute_route_test.go @@ -12,7 +12,7 @@ func TestAccComputeRoute_importBasic(t *testing.T) { resource.Test(t, resource.TestCase{ PreCheck: func() { testAccPreCheck(t) }, Providers: testAccProviders, - CheckDestroy: testAccCheckComputeNetworkDestroy, + CheckDestroy: testAccCheckComputeRouteDestroy, Steps: []resource.TestStep{ { Config: testAccComputeRoute_basic, @@ -31,7 +31,7 @@ func TestAccComputeRoute_importDefaultInternetGateway(t *testing.T) { resource.Test(t, resource.TestCase{ PreCheck: func() { testAccPreCheck(t) }, Providers: testAccProviders, - CheckDestroy: testAccCheckComputeNetworkDestroy, + CheckDestroy: testAccCheckComputeRouteDestroy, Steps: []resource.TestStep{ { Config: testAccComputeRoute_defaultInternetGateway,