fix the tests

This commit is contained in:
Dmitriy Seredenko
2017-06-06 13:00:24 +02:00
parent 473cf20ae7
commit 02def5bf9a
+2 -2
View File
@@ -53,8 +53,8 @@ func InsertRecord(db *sql.DB) int64 {
}
func TestResponses(t *testing.T) {
sql.Register("fake_test", FakeDriver{})
db, _ := sql.Open("fake_test", "connection_string") // Could be any connection string
Catcher.Register()
db, _ := sql.Open(DRIVER_NAME, "connection_string") // Could be any connection string
DB = db
commonReply := []map[string]interface{}{{"name": "FirstLast", "age": "30"}}