fix: fix tests and lintings

This commit is contained in:
Marcel S. Henselin 2026-02-19 11:31:06 +01:00
parent 2aee47aa76
commit 6e1817c425
18 changed files with 61 additions and 37 deletions

View file

@ -110,6 +110,9 @@ func TestMain(m *testing.M) {
}
func testAccPreCheck(t *testing.T) {
if _, ok := os.LookupEnv("TF_ACC"); !ok {
t.Skip("TF_ACC is not set")
}
if _, ok := os.LookupEnv("TF_ACC_PROJECT_ID"); !ok {
t.Fatalf("could not find env var TF_ACC_PROJECT_ID")
}