mirror of
https://github.com/TECHNOFAB11/dbmate.git
synced 2025-12-11 23:50:04 +01:00
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:
parent
9a49f8ec93
commit
882c821c1d
2 changed files with 3 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue