diff options
author | 2022-02-05 12:47:38 +0100 | |
---|---|---|
committer | 2022-02-05 12:47:38 +0100 | |
commit | 1b36e858406ff6b15217229d1abaaabdbeec24e8 (patch) | |
tree | 2a8dba5c81eb69c87aa0d8c930a4e7e2c5c2cfa6 /testrig/processor.go | |
parent | [docs] Fix documentation to show --config-path in the right position. (#375) (diff) | |
download | gotosocial-1b36e858406ff6b15217229d1abaaabdbeec24e8.tar.xz |
[feature] Rework timeline code to make it useful for more than just statuses (#373)
* add preparable and timelineable interfaces
* initialize timeline manager within the processor
* generic renaming
* move status-specific timeline logic into the processor
* refactor timeline to make it useful for more than statuses
Diffstat (limited to 'testrig/processor.go')
-rw-r--r-- | testrig/processor.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testrig/processor.go b/testrig/processor.go index 0baffd35b..cfcaa612b 100644 --- a/testrig/processor.go +++ b/testrig/processor.go @@ -28,5 +28,5 @@ import ( // NewTestProcessor returns a Processor suitable for testing purposes func NewTestProcessor(db db.DB, storage *kv.KVStore, federator federation.Federator, emailSender email.Sender) processing.Processor { - return processing.NewProcessor(NewTestTypeConverter(db), federator, NewTestOauthServer(db), NewTestMediaHandler(db, storage), storage, NewTestTimelineManager(db), db, emailSender) + return processing.NewProcessor(NewTestTypeConverter(db), federator, NewTestOauthServer(db), NewTestMediaHandler(db, storage), storage, db, emailSender) } |