diff options
author | 2022-01-10 18:36:09 +0100 | |
---|---|---|
committer | 2022-01-10 18:36:09 +0100 | |
commit | e0f9323b9aa98b55f3557086f7b0a17047943f39 (patch) | |
tree | 5a2bbcb84b87d2530e804067d72c1bea672412a1 /testrig/mediahandler.go | |
parent | add async test (diff) | |
download | gotosocial-e0f9323b9aa98b55f3557086f7b0a17047943f39.tar.xz |
test the media manager a bit, add shutdown logic
Diffstat (limited to 'testrig/mediahandler.go')
-rw-r--r-- | testrig/mediahandler.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testrig/mediahandler.go b/testrig/mediahandler.go index 046ddc5be..38190eca3 100644 --- a/testrig/mediahandler.go +++ b/testrig/mediahandler.go @@ -26,7 +26,7 @@ import ( // NewTestMediaManager returns a media handler with the default test config, and the given db and storage. func NewTestMediaManager(db db.DB, storage *kv.KVStore) media.Manager { - m, err := media.New(db, storage) + m, err := media.NewManager(db, storage) if err != nil { panic(err) } |