drafting out test structs

This commit is contained in:
tsmethurst 2021-04-05 20:34:56 +02:00
commit 21ffcd98ec
6 changed files with 405 additions and 23 deletions

View file

@ -23,13 +23,6 @@ var testModels []interface{} = []interface{}{
&oauth.Client{},
}
var TestAccounts map[string]*model.Account = map[string]*model.Account{
"test_account_1": {
ID: "",
},
}
// StandardDBSetup populates a given db with all the necessary tables/models for perfoming tests.
func StandardDBSetup(db db.DB) error {
for _, m := range testModels {