fix: fix tests and lintings
This commit is contained in:
parent
2aee47aa76
commit
6e1817c425
18 changed files with 61 additions and 37 deletions
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue