mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-29 20:23:31 -06:00
little fixes, add some more test models
This commit is contained in:
parent
4e53fe3e07
commit
4f4e86425c
5 changed files with 153 additions and 6 deletions
|
|
@ -131,6 +131,18 @@ func StandardDBSetup(db db.DB) {
|
|||
}
|
||||
}
|
||||
|
||||
for _, v := range NewTestFollows() {
|
||||
if err := db.Put(v); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
|
||||
for _, v := range NewTestNotifications() {
|
||||
if err := db.Put(v); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
|
||||
if err := db.CreateInstanceAccount(); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue