Messed up the CheckDestroy attributes.
This commit is contained in:
parent
106c023a29
commit
b88098b511
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue