Messed up the CheckDestroy attributes.

This commit is contained in:
Ola Karlsson 2017-04-28 05:37:12 +00:00
parent 106c023a29
commit b88098b511
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ func TestAccComputeRoute_importBasic(t *testing.T) {
resource.Test(t, resource.TestCase{ resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) }, PreCheck: func() { testAccPreCheck(t) },
Providers: testAccProviders, Providers: testAccProviders,
CheckDestroy: testAccCheckComputeNetworkDestroy, CheckDestroy: testAccCheckComputeRouteDestroy,
Steps: []resource.TestStep{ Steps: []resource.TestStep{
{ {
Config: testAccComputeRoute_basic, Config: testAccComputeRoute_basic,
@ -31,7 +31,7 @@ func TestAccComputeRoute_importDefaultInternetGateway(t *testing.T) {
resource.Test(t, resource.TestCase{ resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) }, PreCheck: func() { testAccPreCheck(t) },
Providers: testAccProviders, Providers: testAccProviders,
CheckDestroy: testAccCheckComputeNetworkDestroy, CheckDestroy: testAccCheckComputeRouteDestroy,
Steps: []resource.TestStep{ Steps: []resource.TestStep{
{ {
Config: testAccComputeRoute_defaultInternetGateway, Config: testAccComputeRoute_defaultInternetGateway,