summaryrefslogtreecommitdiff
path: root/testrig/db.go
diff options
context:
space:
mode:
Diffstat (limited to 'testrig/db.go')
-rw-r--r--testrig/db.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/testrig/db.go b/testrig/db.go
index 67a7e2439..e6b40c846 100644
--- a/testrig/db.go
+++ b/testrig/db.go
@@ -29,6 +29,8 @@ import (
var testModels = []interface{}{
&gtsmodel.Account{},
+ &gtsmodel.AccountNote{},
+ &gtsmodel.AccountSettings{},
&gtsmodel.AccountToEmoji{},
&gtsmodel.Application{},
&gtsmodel.Block{},
@@ -67,8 +69,7 @@ var testModels = []interface{}{
&gtsmodel.Tombstone{},
&gtsmodel.Report{},
&gtsmodel.Rule{},
- &gtsmodel.AccountNote{},
- &gtsmodel.AccountSettings{},
+ &gtsmodel.WorkerTask{},
}
// NewTestDB returns a new initialized, empty database for testing.