We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02eea6d commit 2d76af2Copy full SHA for 2d76af2
internal/testutil/acc/factory.go
@@ -52,12 +52,6 @@ func ConnV2UsingGov() *admin.APIClient {
52
}
53
54
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
- }
61
TestAccProviderV6Factories = map[string]func() (tfprotov6.ProviderServer, error){
62
ProviderNameMongoDBAtlas: func() (tfprotov6.ProviderServer, error) {
63
return provider.MuxProviderFactory()(), nil
0 commit comments