diff options
author | 2021-09-11 20:12:47 +0100 | |
---|---|---|
committer | 2021-09-11 20:12:47 +0100 | |
commit | e43a46e9822a05dd0345a7676e03285ddf83205e (patch) | |
tree | 72db13159e47d7815d001285fadb8225b1f7a571 /testrig/mediahandler.go | |
parent | documentation updates (#211) (diff) | |
download | gotosocial-e43a46e9822a05dd0345a7676e03285ddf83205e.tar.xz |
add git.iim.gay/grufwub/go-store for storage backend, replacing blob.Storage
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
Diffstat (limited to 'testrig/mediahandler.go')
-rw-r--r-- | testrig/mediahandler.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testrig/mediahandler.go b/testrig/mediahandler.go index 0872eefd0..3cf6f539a 100644 --- a/testrig/mediahandler.go +++ b/testrig/mediahandler.go @@ -19,13 +19,13 @@ package testrig import ( - "github.com/superseriousbusiness/gotosocial/internal/blob" + "git.iim.gay/grufwub/go-store/kv" "github.com/superseriousbusiness/gotosocial/internal/db" "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. -func NewTestMediaHandler(db db.DB, storage blob.Storage) media.Handler { +func NewTestMediaHandler(db db.DB, storage *kv.KVStore) media.Handler { return media.New(NewTestConfig(), db, storage, NewTestLog()) } |