Skip to content

Commit 887f556

Browse files
committed
Fix bad package alias
1 parent d8302fb commit 887f556

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

internal/acctest/acctest.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"github.com/scaleway/terraform-provider-scaleway/v2/internal/env"
1313
"github.com/scaleway/terraform-provider-scaleway/v2/internal/meta"
1414
"github.com/scaleway/terraform-provider-scaleway/v2/internal/transport"
15-
provider2 "github.com/scaleway/terraform-provider-scaleway/v2/provider"
15+
"github.com/scaleway/terraform-provider-scaleway/v2/provider"
1616
"github.com/stretchr/testify/require"
1717
)
1818

@@ -67,7 +67,7 @@ func NewTestTools(t *testing.T) *TestTools {
6767
Meta: m,
6868
ProviderFactories: map[string]func() (tfprotov6.ProviderServer, error){
6969
"scaleway": func() (tfprotov6.ProviderServer, error) {
70-
providers, errProvider := provider2.NewProviderList(ctx, &provider2.Config{Meta: m})
70+
providers, errProvider := provider.NewProviderList(ctx, &provider.Config{Meta: m})
7171
if errProvider != nil {
7272
return nil, errProvider
7373
}

internal/acctest/fixtures.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
iam "github.com/scaleway/scaleway-sdk-go/api/iam/v1alpha1"
1111
"github.com/scaleway/terraform-provider-scaleway/v2/internal/meta"
1212
"github.com/scaleway/terraform-provider-scaleway/v2/internal/types"
13-
provider2 "github.com/scaleway/terraform-provider-scaleway/v2/provider"
13+
"github.com/scaleway/terraform-provider-scaleway/v2/provider"
1414
"github.com/stretchr/testify/require"
1515
)
1616

@@ -33,7 +33,7 @@ func FakeSideProjectProviders(ctx context.Context, tt *TestTools, project *accou
3333

3434
providers := map[string]func() (tfprotov6.ProviderServer, error){
3535
"side": func() (tfprotov6.ProviderServer, error) {
36-
providers, errProvider := provider2.NewProviderList(ctx, &provider2.Config{Meta: metaSide})
36+
providers, errProvider := provider.NewProviderList(ctx, &provider.Config{Meta: metaSide})
3737
if errProvider != nil {
3838
return nil, errProvider
3939
}

0 commit comments

Comments
 (0)