Reviewed-on: #23
This commit is contained in:
parent
a67b911e77
commit
0d6ee87cae
|
@ -35,6 +35,12 @@ func newDB(tb testing.TB) *bun.DB {
|
|||
return newDBWithDSN(tb, dsn)
|
||||
}
|
||||
|
||||
return newDBDockertest(tb)
|
||||
}
|
||||
|
||||
func newDBDockertest(tb testing.TB) *bun.DB {
|
||||
tb.Helper()
|
||||
|
||||
q := url.Values{}
|
||||
q.Add("sslmode", "disable")
|
||||
dsn := &url.URL{
|
||||
|
|
Loading…
Reference in New Issue