From 3d77f81c7fed002c628db82d822cc46c56a57e64 Mon Sep 17 00:00:00 2001 From: Tobi Smethurst <31960611+tsmethurst@users.noreply.github.com> Date: Sun, 30 May 2021 13:12:00 +0200 Subject: Move a lot of stuff + tidy stuff (#37) Lots of renaming and moving stuff, some bug fixes, more lenient parsing of notifications and home timeline. --- testrig/mediahandler.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testrig/mediahandler.go') diff --git a/testrig/mediahandler.go b/testrig/mediahandler.go index ef6901032..0872eefd0 100644 --- a/testrig/mediahandler.go +++ b/testrig/mediahandler.go @@ -19,13 +19,13 @@ package testrig import ( + "github.com/superseriousbusiness/gotosocial/internal/blob" "github.com/superseriousbusiness/gotosocial/internal/db" "github.com/superseriousbusiness/gotosocial/internal/media" - "github.com/superseriousbusiness/gotosocial/internal/storage" ) // NewTestMediaHandler returns a media handler with the default test config, the default test logger, // and the given db and storage. -func NewTestMediaHandler(db db.DB, storage storage.Storage) media.Handler { +func NewTestMediaHandler(db db.DB, storage blob.Storage) media.Handler { return media.New(NewTestConfig(), db, storage, NewTestLog()) } -- cgit v1.2.3