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:
parent
8be391ba5c
commit
9fe6df52ee
5 changed files with 105 additions and 59 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue