From 285d55dda8b4de70661b16db4986d47e4e586ea2 Mon Sep 17 00:00:00 2001 From: Sam Lade Date: Sat, 16 Dec 2023 11:55:49 +0000 Subject: [feature] Push status edit messages into open streams (#2418) * push status edit messages into open streams * fix a few comments * test++ * commented out code? moi? --- internal/processing/stream/stream_test.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/processing/stream/stream_test.go') diff --git a/internal/processing/stream/stream_test.go b/internal/processing/stream/stream_test.go index bd12674e7..2569ac701 100644 --- a/internal/processing/stream/stream_test.go +++ b/internal/processing/stream/stream_test.go @@ -30,6 +30,7 @@ import ( type StreamTestSuite struct { suite.Suite testAccounts map[string]*gtsmodel.Account + testStatuses map[string]*gtsmodel.Status testTokens map[string]*gtsmodel.Token db db.DB oauthServer oauth.Server @@ -45,6 +46,7 @@ func (suite *StreamTestSuite) SetupTest() { testrig.InitTestConfig() suite.testAccounts = testrig.NewTestAccounts() + suite.testStatuses = testrig.NewTestStatuses() suite.testTokens = testrig.NewTestTokens() suite.db = testrig.NewTestDB(&suite.state) suite.state.DB = suite.db -- cgit v1.2.3