Skip to content

Commit

Permalink
pg.NewSqlxDB -> pg.NewTestDB
Browse files Browse the repository at this point in the history
  • Loading branch information
reductionista committed Dec 12, 2024
1 parent 848d317 commit bf2ec04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/internal/testutils/pgtest/pgtest.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}) {
Expand Down

0 comments on commit bf2ec04

Please sign in to comment.