Skip to content

Commit 0ad08aa

Browse files
chore(tests): migrate to terraform-plugin-testing
1 parent 46c5716 commit 0ad08aa

File tree

42 files changed

+128
-122
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+128
-122
lines changed

cloudstack/data_source_cloudstack_instance_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ package cloudstack
2222
import (
2323
"testing"
2424

25-
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
25+
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
2626
)
2727

2828
// basic acceptance to check if the display_name attribute has same value in

cloudstack/data_source_cloudstack_ipaddress_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ package cloudstack
2222
import (
2323
"testing"
2424

25-
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
25+
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
2626
)
2727

2828
func TestAccIPAddressDataSource_basic(t *testing.T) {

cloudstack/data_source_cloudstack_network_offering_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ package cloudstack
2222
import (
2323
"testing"
2424

25-
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
25+
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
2626
)
2727

2828
func TestAccNetworkOfferingDataSource_basic(t *testing.T) {

cloudstack/data_source_cloudstack_pod_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ package cloudstack
2222
import (
2323
"testing"
2424

25-
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
25+
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
2626
)
2727

2828
func TestAccPodDataSource_basic(t *testing.T) {

cloudstack/data_source_cloudstack_service_offering_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ package cloudstack
2222
import (
2323
"testing"
2424

25-
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
25+
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
2626
)
2727

2828
func TestAccServiceOfferingDataSource_basic(t *testing.T) {

cloudstack/data_source_cloudstack_ssh_keypair_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ package cloudstack
2222
import (
2323
"testing"
2424

25-
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
25+
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
2626
)
2727

2828
func TestAccSshKeyPairDataSource_basic(t *testing.T) {

cloudstack/data_source_cloudstack_user_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ package cloudstack
2222
import (
2323
"testing"
2424

25-
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
25+
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
2626
)
2727

2828
func TestAccUserDataSource_basic(t *testing.T) {

cloudstack/data_source_cloudstack_volume_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ package cloudstack
2222
import (
2323
"testing"
2424

25-
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
25+
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
2626
)
2727

2828
func TestAccVolumeDataSource_basic(t *testing.T) {

cloudstack/data_source_cloudstack_vpc_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ package cloudstack
2222
import (
2323
"testing"
2424

25-
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
25+
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
2626
)
2727

2828
func TestAccVPCDataSource_basic(t *testing.T) {

cloudstack/data_source_cloudstack_zone_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ package cloudstack
2222
import (
2323
"testing"
2424

25-
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
25+
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
2626
)
2727

2828
func TestAccZoneDataSource_basic(t *testing.T) {

0 commit comments

Comments
 (0)