summaryrefslogtreecommitdiff
path: root/internal/processing/media/media_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/processing/media/media_test.go')
-rw-r--r--internal/processing/media/media_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/processing/media/media_test.go b/internal/processing/media/media_test.go
index 80f1a7be7..2930733c4 100644
--- a/internal/processing/media/media_test.go
+++ b/internal/processing/media/media_test.go
@@ -19,6 +19,7 @@ package media_test
import (
"github.com/stretchr/testify/suite"
+ "github.com/superseriousbusiness/gotosocial/internal/admin"
"github.com/superseriousbusiness/gotosocial/internal/db"
"github.com/superseriousbusiness/gotosocial/internal/filter/visibility"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"
@@ -75,6 +76,7 @@ func (suite *MediaStandardTestSuite) SetupTest() {
suite.db = testrig.NewTestDB(&suite.state)
suite.state.DB = suite.db
+ suite.state.AdminActions = admin.New(suite.state.DB, &suite.state.Workers)
suite.tc = typeutils.NewConverter(&suite.state)
suite.storage = testrig.NewInMemoryStorage()
suite.state.Storage = suite.storage