diff --git a/core/internal/testutils/pgtest/pgtest.go b/core/internal/testutils/pgtest/pgtest.go index ea1dbea07bc..ee17d8f4d14 100644 --- a/core/internal/testutils/pgtest/pgtest.go +++ b/core/internal/testutils/pgtest/pgtest.go @@ -21,7 +21,7 @@ func NewSqlxDB(t testing.TB) *sqlx.DB { t.Errorf("you must provide a CL_DATABASE_URL environment variable") return nil } - return pg.NewSqlxDB(t, dbURL) + return pg.NewTestDB(t, dbURL) } func MustExec(t *testing.T, ds sqlutil.DataSource, stmt string, args ...interface{}) {