Closed solarchad closed 5 years ago
We have this in provider_test.go:
provider_test.go
func testAccPreCheck(t *testing.T) { if v := os.Getenv("APPOPTICS_TOKEN"); v == "" { t.Fatal("APPOPTICS_TOKEN must be set for acceptance tests") } }
But when this env var is not set, the tests still pass when make test is ran.
make test
We have this in
provider_test.go
:But when this env var is not set, the tests still pass when
make test
is ran.