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 8210ef4 commit 5053f45Copy full SHA for 5053f45
internal/provider/provider_test.go
@@ -34,6 +34,10 @@ func testAccPreCheck(t *testing.T) {
34
"CTRLPLANE_BASE_URL",
35
}
36
37
+ if os.Getenv("CTRLPLANE_BASE_URL") == "" {
38
+ t.Setenv("CTRLPLANE_BASE_URL", "https://api.ctrlplane.com")
39
+ }
40
+
41
for _, envVar := range requiredEnvVars {
42
if value := acctest.GetTestEnv(t, envVar); value == "" {
43
t.Fatalf("%s must be set for acceptance tests", envVar)
0 commit comments