little fixes, add some more test models

This commit is contained in:
tsmethurst 2021-06-21 12:21:48 +02:00
commit 4f4e86425c
5 changed files with 153 additions and 6 deletions

View file

@ -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)
}