mirror of
https://github.com/aclindsa/moneygo.git
synced 2025-06-14 05:58:37 -04:00
Take unexported database methods 'private'
This commit is contained in:
@ -258,10 +258,7 @@ func RunTests(m *testing.M) int {
|
||||
}
|
||||
defer db.Close()
|
||||
|
||||
err = db.DbMap.TruncateTables()
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
db.Empty() // clear the DB tables
|
||||
|
||||
server = httptest.NewTLSServer(&handlers.APIHandler{Store: db})
|
||||
defer server.Close()
|
||||
|
Reference in New Issue
Block a user