Skip to content

Commit 2d76af2

Browse files
authored
chore: Fix cleanup GHA after SA changes (#3742)
1 parent 02eea6d commit 2d76af2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

internal/testutil/acc/factory.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,6 @@ func ConnV2UsingGov() *admin.APIClient {
5252
}
5353

5454
func init() {
55-
if InUnitTest() { // Dummy credentials for unit tests
56-
os.Setenv("MONGODB_ATLAS_PUBLIC_KEY", "dummy")
57-
os.Setenv("MONGODB_ATLAS_PRIVATE_KEY", "dummy")
58-
os.Unsetenv("MONGODB_ATLAS_CLIENT_ID")
59-
os.Unsetenv("MONGODB_ATLAS_CLIENT_SECRET")
60-
}
6155
TestAccProviderV6Factories = map[string]func() (tfprotov6.ProviderServer, error){
6256
ProviderNameMongoDBAtlas: func() (tfprotov6.ProviderServer, error) {
6357
return provider.MuxProviderFactory()(), nil

0 commit comments

Comments
 (0)