mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-13 08:27:29 -06:00
Text duplication fix (#137)
* start testing text duplication * tests * fixes + tests
This commit is contained in:
parent
8330263965
commit
329a5e8144
13 changed files with 696 additions and 42 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue