summaryrefslogtreecommitdiff
path: root/internal/processing/stream/stream_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/processing/stream/stream_test.go')
-rw-r--r--internal/processing/stream/stream_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/processing/stream/stream_test.go b/internal/processing/stream/stream_test.go
index 2569ac701..96ea65b0f 100644
--- a/internal/processing/stream/stream_test.go
+++ b/internal/processing/stream/stream_test.go
@@ -19,6 +19,7 @@ package stream_test
import (
"github.com/stretchr/testify/suite"
+ "github.com/superseriousbusiness/gotosocial/internal/admin"
"github.com/superseriousbusiness/gotosocial/internal/db"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"
"github.com/superseriousbusiness/gotosocial/internal/oauth"
@@ -50,6 +51,7 @@ func (suite *StreamTestSuite) SetupTest() {
suite.testTokens = testrig.NewTestTokens()
suite.db = testrig.NewTestDB(&suite.state)
suite.state.DB = suite.db
+ suite.state.AdminActions = admin.New(suite.state.DB, &suite.state.Workers)
suite.oauthServer = testrig.NewTestOauthServer(suite.db)
suite.streamProcessor = stream.New(&suite.state, suite.oauthServer)