Require project id as otherwise it will fail with cryptic error

This commit is contained in:
Dainis Tillers 2014-09-02 16:49:16 +03:00
parent 6cf9975f46
commit 10bf8628a4

View File

@ -36,4 +36,8 @@ func testAccPreCheck(t *testing.T) {
if v := os.Getenv("GOOGLE_CLIENT_FILE"); v == "" {
t.Fatal("GOOGLE_CLIENT_FILE must be set for acceptance tests")
}
if v := os.Getenv("GOOGLE_PROJECT"); v == "" {
t.Fatal("GOOGLE_PROJECT must be set for acceptance tests")
}
}