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"
|
"testing"
|
||||||
|
|
||||||
"github.com/vattle/sqlboiler/bdb"
|
"github.com/vattle/sqlboiler/bdb"
|
||||||
|
"github.com/vattle/sqlboiler/bdb/drivers"
|
||||||
)
|
)
|
||||||
|
|
||||||
var state *State
|
var state *State
|
||||||
|
@ -20,7 +21,7 @@ var rgxHasSpaces = regexp.MustCompile(`^\s+`)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
state = &State{
|
state = &State{
|
||||||
Driver: fakeDB(0),
|
Driver: drivers.MockDriver(0),
|
||||||
Tables: []bdb.Table{
|
Tables: []bdb.Table{
|
||||||
{
|
{
|
||||||
Name: "patrick_table",
|
Name: "patrick_table",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue