1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-09-03 17:36:23 -07:00

Add public function to gcsql for SQL mock access

This commit is contained in:
Eggbertx 2024-05-31 14:43:35 -07:00
parent 8be391ba5c
commit 9fe6df52ee
5 changed files with 105 additions and 59 deletions

View file

@ -25,7 +25,7 @@ func TestProvision(t *testing.T) {
t.Run(driver, func(t *testing.T) {
config.SetTestDBConfig(driver, "localhost", "gochan", "gochan", "gochan", "")
gcdb, err = setupDBConn(setupSQLConfig(driver, "gochan", ""))
gcdb, err = setupDBConn(setupSqlTestConfig(driver, "gochan", ""))
if !assert.NoError(t, err) {
return
}