mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-30 01:42:26 -05:00
[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?
This commit is contained in:
parent
fbe4e60232
commit
285d55dda8
7 changed files with 363 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue