Add default docker postgres password (#121)

Add a default user password to fix CI failures caused by [breaking upstream change](https://github.com/docker-library/postgres/pull/658) in `postgres` docker image.

Example error: 631760202
This commit is contained in:
Adrian Macneil 2020-03-01 22:03:31 -08:00 committed by GitHub
parent 9a49f8ec93
commit 882c821c1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -139,7 +139,7 @@ func TestPostgresDatabaseExists_Error(t *testing.T) {
u.User = url.User("invalid")
exists, err := drv.DatabaseExists(u)
require.Equal(t, "pq: role \"invalid\" does not exist", err.Error())
require.Equal(t, "pq: password authentication failed for user \"invalid\"", err.Error())
require.Equal(t, false, exists)
}