Fix tests

This commit is contained in:
binwiederhier
2026-02-20 08:19:25 -05:00
parent 209d5a4c62
commit 039d555689
9 changed files with 32 additions and 13 deletions

View File

@@ -21,6 +21,9 @@ func newTestPostgresStore(t *testing.T) webpush.Store {
u, err := url.Parse(dsn)
require.Nil(t, err)
q := u.Query()
q.Set("pool_max_conns", "2")
u.RawQuery = q.Encode()
dsn = u.String()
q.Set("search_path", schema)
u.RawQuery = q.Encode()
schemaDSN := u.String()