Skip to content

Commit

Permalink
Fixed import tests TestAccAzureRMVirtualNetworkGateway_importBasic an…
Browse files Browse the repository at this point in the history
…d TestAccAzureRMVirtualNetworkGatewayConnection_importSiteToSite
  • Loading branch information
dominik-lekse committed Aug 5, 2017
1 parent c6ec4bc commit 554046a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package azurerm

import (
"fmt"
"github.com/hashicorp/terraform/helper/acctest"
"github.com/hashicorp/terraform/helper/resource"
"testing"
Expand All @@ -11,7 +10,7 @@ func TestAccAzureRMVirtualNetworkGatewayConnection_importSiteToSite(t *testing.T
resourceName := "azurerm_virtual_network_gateway_connection.test"

ri := acctest.RandInt()
config := fmt.Sprintf(testAccAzureRMVirtualNetworkGatewayConnection_sitetosite, ri)
config := testAccAzureRMVirtualNetworkGatewayConnection_sitetosite(ri)

resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
Expand Down
3 changes: 1 addition & 2 deletions azurerm/import_arm_virtual_network_gateway_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package azurerm

import (
"fmt"
"github.com/hashicorp/terraform/helper/acctest"
"github.com/hashicorp/terraform/helper/resource"
"testing"
Expand All @@ -11,7 +10,7 @@ func TestAccAzureRMVirtualNetworkGateway_importBasic(t *testing.T) {
resourceName := "azurerm_virtual_network_gateway.test"

ri := acctest.RandInt()
config := fmt.Sprintf(testAccAzureRMVirtualNetworkGateway_basic, ri)
config := testAccAzureRMVirtualNetworkGateway_basic(ri)

resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
Expand Down

0 comments on commit 554046a

Please sign in to comment.