summaryrefslogtreecommitdiff
path: root/internal/processing/account/account_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/processing/account/account_test.go')
-rw-r--r--internal/processing/account/account_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/processing/account/account_test.go b/internal/processing/account/account_test.go
index 8eec1f9dd..7bd9658dc 100644
--- a/internal/processing/account/account_test.go
+++ b/internal/processing/account/account_test.go
@@ -22,6 +22,7 @@ import (
"time"
"github.com/stretchr/testify/suite"
+ "github.com/superseriousbusiness/gotosocial/internal/admin"
"github.com/superseriousbusiness/gotosocial/internal/db"
"github.com/superseriousbusiness/gotosocial/internal/email"
"github.com/superseriousbusiness/gotosocial/internal/federation"
@@ -93,6 +94,7 @@ func (suite *AccountStandardTestSuite) 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)
testrig.StartTimelines(