Remove the PGPASSWORD requirement for tests.

If they're required and the value is missing, the test will fail.  There's
no need to enforce that in the test itself.
This commit is contained in:
Sean Chittenden 2016-09-05 17:09:11 -07:00
parent ec130d538c
commit 655617ed6a
No known key found for this signature in database
GPG Key ID: 4EBC9DC16C2E5E16
1 changed files with 0 additions and 3 deletions

View File

@ -36,7 +36,4 @@ func testAccPreCheck(t *testing.T) {
if v := os.Getenv("PGUSER"); v == "" {
t.Fatal("PGUSER must be set for acceptance tests")
}
if v := os.Getenv("PGPASSWORD"); v == "" && host != "localhost" {
t.Fatal("PGPASSWORD must be set for acceptance tests if PGHOST is not localhost")
}
}