diff options
| author | 2021-08-11 16:54:54 +0200 | |
|---|---|---|
| committer | 2021-08-11 16:54:54 +0200 | |
| commit | 329a5e8144eea78e607c8a218ae78ae8f346f2e8 (patch) | |
| tree | 73072075ad682212d77504d4199ae756f4950a60 /testrig/db.go | |
| parent | ahhh (diff) | |
| download | gotosocial-329a5e8144eea78e607c8a218ae78ae8f346f2e8.tar.xz | |
Text duplication fix (#137)
* start testing text duplication
* tests
* fixes + tests
Diffstat (limited to 'testrig/db.go')
| -rw-r--r-- | testrig/db.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testrig/db.go b/testrig/db.go index fe38c3164..f34f7936b 100644 --- a/testrig/db.go +++ b/testrig/db.go @@ -141,6 +141,12 @@ func StandardDBSetup(db db.DB, accounts map[string]*gtsmodel.Account) { } } + for _, v := range NewTestMentions() { + if err := db.Put(v); err != nil { + panic(err) + } + } + for _, v := range NewTestFaves() { if err := db.Put(v); err != nil { panic(err) |
