diff options
author | 2023-12-16 11:55:49 +0000 | |
---|---|---|
committer | 2023-12-16 12:55:49 +0100 | |
commit | 285d55dda8b4de70661b16db4986d47e4e586ea2 (patch) | |
tree | 17e460f916370898d3568c6ba569686e9350aedd /internal/processing/stream/stream_test.go | |
parent | [feature] Run ANALYZE after migrations on SQLite (#2428) (diff) | |
download | gotosocial-285d55dda8b4de70661b16db4986d47e4e586ea2.tar.xz |
[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?
Diffstat (limited to 'internal/processing/stream/stream_test.go')
-rw-r--r-- | internal/processing/stream/stream_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
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 |