summaryrefslogtreecommitdiff
path: root/testrig/mediahandler.go
diff options
context:
space:
mode:
Diffstat (limited to 'testrig/mediahandler.go')
-rw-r--r--testrig/mediahandler.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/testrig/mediahandler.go b/testrig/mediahandler.go
index 38190eca3..acb5ed16b 100644
--- a/testrig/mediahandler.go
+++ b/testrig/mediahandler.go
@@ -19,13 +19,13 @@
package testrig
import (
- "codeberg.org/gruf/go-store/kv"
"github.com/superseriousbusiness/gotosocial/internal/db"
"github.com/superseriousbusiness/gotosocial/internal/media"
+ "github.com/superseriousbusiness/gotosocial/internal/storage"
)
// 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 {
+func NewTestMediaManager(db db.DB, storage storage.Driver) media.Manager {
m, err := media.NewManager(db, storage)
if err != nil {
panic(err)