mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-02 17:42:25 -06:00
drafting out test structs
This commit is contained in:
parent
ca69a4102b
commit
21ffcd98ec
6 changed files with 405 additions and 23 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue