summaryrefslogtreecommitdiff
path: root/internal/processing/user/user_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/processing/user/user_test.go')
-rw-r--r--internal/processing/user/user_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/processing/user/user_test.go b/internal/processing/user/user_test.go
index e473c5bb0..2a9e0a89f 100644
--- a/internal/processing/user/user_test.go
+++ b/internal/processing/user/user_test.go
@@ -19,6 +19,7 @@ package user_test
import (
"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/gtsmodel"
@@ -49,6 +50,7 @@ func (suite *UserStandardTestSuite) SetupTest() {
suite.db = testrig.NewTestDB(&suite.state)
suite.state.DB = suite.db
+ suite.state.AdminActions = admin.New(suite.state.DB, &suite.state.Workers)
suite.sentEmails = make(map[string]string)
suite.emailSender = testrig.NewEmailSender("../../../web/template/", suite.sentEmails)