Skip to content

Commit 7016361

Browse files
tongyimingmikatong
and
mikatong
authored
fix/migrate-package-conflict (#2427)
Co-authored-by: mikatong <[email protected]>
1 parent 581e672 commit 7016361

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

tencentcloud/resource_tc_gaap_layer4_listener_international_test.go renamed to tencentcloud/services/gaap/resource_tc_gaap_layer4_listener_international_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
1-
package tencentcloud
1+
package gaap_test
22

33
import (
44
"testing"
55

66
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
7+
tcacctest "github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/acctest"
78
)
89

910
func TestAccTencentCloudInternationalGaapResource_listener4(t *testing.T) {
1011
t.Parallel()
1112
id := new(string)
1213

1314
resource.Test(t, resource.TestCase{
14-
PreCheck: func() { testAccPreCheckCommon(t, ACCOUNT_TYPE_PREPAY) },
15-
Providers: testAccProviders,
15+
PreCheck: func() { tcacctest.AccPreCheck(t) },
16+
Providers: tcacctest.AccProviders,
1617
Steps: []resource.TestStep{
1718
{
1819
Config: testAccInternationalGaapLayer4ListenerBasic,

tencentcloud/resource_tc_gaap_layer7_listener_international_test.go renamed to tencentcloud/services/gaap/resource_tc_gaap_layer7_listener_international_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
1-
package tencentcloud
1+
package gaap_test
22

33
import (
44
"testing"
55

66
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
7+
tcacctest "github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/acctest"
78
)
89

910
func TestAccTencentCloudInternationalGaapResource_listener7(t *testing.T) {
1011
t.Parallel()
1112
id := new(string)
1213

1314
resource.Test(t, resource.TestCase{
14-
PreCheck: func() { testAccPreCheckCommon(t, ACCOUNT_TYPE_PREPAY) },
15-
Providers: testAccProviders,
15+
PreCheck: func() { tcacctest.AccPreCheck(t) },
16+
Providers: tcacctest.AccProviders,
1617
Steps: []resource.TestStep{
1718
{
1819
Config: testAccInternationalGaapLayer7ListenerBasic,

tencentcloud/resource_tc_gaap_proxy_international_test.go renamed to tencentcloud/services/gaap/resource_tc_gaap_proxy_international_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
1-
package tencentcloud
1+
package gaap_test
22

33
import (
44
"regexp"
55
"testing"
66

77
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
8+
tcacctest "github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/acctest"
89
)
910

1011
func TestAccTencentCloudInternationalGaapResource_proxy(t *testing.T) {
1112
id := new(string)
1213

1314
resource.Test(t, resource.TestCase{
14-
PreCheck: func() { testAccPreCheck(t) },
15-
Providers: testAccProviders,
15+
PreCheck: func() { tcacctest.AccPreCheck(t) },
16+
Providers: tcacctest.AccProviders,
1617
CheckDestroy: testAccCheckGaapProxyDestroy(id),
1718
Steps: []resource.TestStep{
1819
{

0 commit comments

Comments
 (0)