Manual updates
This commit is contained in:
@@ -33,7 +33,7 @@ func forEachBackend(t *testing.T, f func(t *testing.T, newStore newStoreFunc)) {
|
||||
})
|
||||
})
|
||||
t.Run("postgres", func(t *testing.T) {
|
||||
schemaDSN := dbtest.CreateTestSchema(t)
|
||||
schemaDSN := dbtest.CreateTestPostgresSchema(t)
|
||||
f(t, func() Store {
|
||||
pool, err := db.OpenPostgres(schemaDSN)
|
||||
require.Nil(t, err)
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
)
|
||||
|
||||
func newTestPostgresStore(t *testing.T) user.Store {
|
||||
testDB := dbtest.CreateTestDB(t)
|
||||
testDB := dbtest.CreateTestPostgres(t)
|
||||
store, err := user.NewPostgresStore(testDB)
|
||||
require.Nil(t, err)
|
||||
return store
|
||||
|
||||
Reference in New Issue
Block a user