From bf2ec045842a04e07bd18281786c07ae415c4c86 Mon Sep 17 00:00:00 2001 From: Domino Valdano <2644901+reductionista@users.noreply.github.com> Date: Wed, 11 Dec 2024 14:58:24 -0800 Subject: [PATCH] pg.NewSqlxDB -> pg.NewTestDB --- core/internal/testutils/pgtest/pgtest.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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{}) {