Fix pointer to MockDriver
This commit is contained in:
parent
8d0cd2a53d
commit
34651b1942
1 changed files with 2 additions and 1 deletions
|
@ -13,6 +13,7 @@ import (
|
|||
"testing"
|
||||
|
||||
"github.com/vattle/sqlboiler/bdb"
|
||||
"github.com/vattle/sqlboiler/bdb/drivers"
|
||||
)
|
||||
|
||||
var state *State
|
||||
|
@ -20,7 +21,7 @@ var rgxHasSpaces = regexp.MustCompile(`^\s+`)
|
|||
|
||||
func init() {
|
||||
state = &State{
|
||||
Driver: fakeDB(0),
|
||||
Driver: drivers.MockDriver(0),
|
||||
Tables: []bdb.Table{
|
||||
{
|
||||
Name: "patrick_table",
|
||||
|
|
Loading…
Add table
Reference in a new issue