mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-02 11:22:26 -06:00
[bugfix] Handle ErrHideStatus when preparing timeline statuses (#3071)
This commit is contained in:
parent
02d6e2e3bc
commit
be5e532cd2
4 changed files with 260 additions and 0 deletions
|
|
@ -35,6 +35,7 @@ type TimelineStandardTestSuite struct {
|
|||
|
||||
// standard suite models
|
||||
testAccounts map[string]*gtsmodel.Account
|
||||
testStatuses map[string]*gtsmodel.Status
|
||||
|
||||
// module being tested
|
||||
timeline timeline.Processor
|
||||
|
|
@ -42,6 +43,7 @@ type TimelineStandardTestSuite struct {
|
|||
|
||||
func (suite *TimelineStandardTestSuite) SetupSuite() {
|
||||
suite.testAccounts = testrig.NewTestAccounts()
|
||||
suite.testStatuses = testrig.NewTestStatuses()
|
||||
}
|
||||
|
||||
func (suite *TimelineStandardTestSuite) SetupTest() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue