Skip to content

Commit 5053f45

Browse files
fix the base_url
1 parent 8210ef4 commit 5053f45

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/provider/provider_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ func testAccPreCheck(t *testing.T) {
3434
"CTRLPLANE_BASE_URL",
3535
}
3636

37+
if os.Getenv("CTRLPLANE_BASE_URL") == "" {
38+
t.Setenv("CTRLPLANE_BASE_URL", "https://api.ctrlplane.com")
39+
}
40+
3741
for _, envVar := range requiredEnvVars {
3842
if value := acctest.GetTestEnv(t, envVar); value == "" {
3943
t.Fatalf("%s must be set for acceptance tests", envVar)

0 commit comments

Comments
 (0)