summaryrefslogtreecommitdiff
path: root/testrig/mediahandler.go
diff options
context:
space:
mode:
Diffstat (limited to 'testrig/mediahandler.go')
-rw-r--r--testrig/mediahandler.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/testrig/mediahandler.go b/testrig/mediahandler.go
index 3cf6f539a..9ff8179c0 100644
--- a/testrig/mediahandler.go
+++ b/testrig/mediahandler.go
@@ -24,8 +24,7 @@ import (
"github.com/superseriousbusiness/gotosocial/internal/media"
)
-// NewTestMediaHandler returns a media handler with the default test config, the default test logger,
-// and the given db and storage.
+// NewTestMediaHandler returns a media handler with the default test config, and the given db and storage.
func NewTestMediaHandler(db db.DB, storage *kv.KVStore) media.Handler {
- return media.New(NewTestConfig(), db, storage, NewTestLog())
+ return media.New(NewTestConfig(), db, storage)
}