diff options
| author | 2025-03-03 16:03:36 +0100 | |
|---|---|---|
| committer | 2025-03-03 15:03:36 +0000 | |
| commit | 1b37944f8b8eccc2afcfb0f603786209a3b7402d (patch) | |
| tree | 2bc0be27cf0405e16ac3e14efc3b6973eb096b8b /testrig/db.go | |
| parent | bumps go-ffmpreg to v0.6.6 (#3866) (diff) | |
| download | gotosocial-1b37944f8b8eccc2afcfb0f603786209a3b7402d.tar.xz | |
[feature] Refactor tokens, allow multiple app redirect_uris (#3849)
* [feature] Refactor tokens, allow multiple app redirect_uris
* move + tweak handlers a bit
* return error for unset oauth2.ClientStore funcs
* wrap UpdateToken with cache
* panic handling
* cheeky little time optimization
* unlock on error
Diffstat (limited to 'testrig/db.go')
| -rw-r--r-- | testrig/db.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/testrig/db.go b/testrig/db.go index d33a63f12..2f44b3777 100644 --- a/testrig/db.go +++ b/testrig/db.go @@ -68,7 +68,6 @@ var testModels = []interface{}{ >smodel.Notification{}, >smodel.RouterSession{}, >smodel.Token{}, - >smodel.Client{}, >smodel.EmojiCategory{}, >smodel.Tombstone{}, >smodel.Report{}, @@ -132,12 +131,6 @@ func StandardDBSetup(db db.DB, accounts map[string]*gtsmodel.Account) { } } - for _, v := range NewTestClients() { - if err := db.Put(ctx, v); err != nil { - log.Panic(ctx, err) - } - } - for _, v := range NewTestApplications() { if err := db.Put(ctx, v); err != nil { log.Panic(ctx, err) |
