Fix pointer to MockDriver

This commit is contained in:
Patrick O'brien 2016-08-18 16:18:10 +10:00
parent 8d0cd2a53d
commit 34651b1942

View file

@ -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",