Skip to content

Commit 952d56e

Browse files
committed
also fix gitauth_test.go
Signed-off-by: Spike Curtis <[email protected]>
1 parent 6273922 commit 952d56e

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

provider/gitauth_test.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@ package provider_test
33
import (
44
"testing"
55

6-
"github.com/coder/terraform-provider-coder/provider"
7-
86
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
9-
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
107
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
118

129
"github.com/stretchr/testify/require"
@@ -16,10 +13,8 @@ func TestGitAuth(t *testing.T) {
1613
t.Parallel()
1714

1815
resource.Test(t, resource.TestCase{
19-
Providers: map[string]*schema.Provider{
20-
"coder": provider.New(),
21-
},
22-
IsUnitTest: true,
16+
ProviderFactories: coderFactory(),
17+
IsUnitTest: true,
2318
Steps: []resource.TestStep{{
2419
Config: `
2520
provider "coder" {

0 commit comments

Comments
 (0)