mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-21 14:37:30 -06:00
Started working on emoji
This commit is contained in:
parent
2e7ac10d00
commit
9826f3f6d9
16 changed files with 75 additions and 14 deletions
|
|
@ -58,6 +58,10 @@ func NewTestDB() db.DB {
|
|||
|
||||
// StandardDBSetup populates a given db with all the necessary tables/models for perfoming tests.
|
||||
func StandardDBSetup(db db.DB) {
|
||||
if err := db.CreateInstanceAccount(); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
for _, m := range testModels {
|
||||
if err := db.CreateTable(m); err != nil {
|
||||
panic(err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue