mirror of
https://github.com/wahyd4/go-mocket.git
synced 2026-08-09 04:46:54 +10:00
fix the tests
This commit is contained in:
+2
-2
@@ -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"}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user