summaryrefslogtreecommitdiff
path: root/internal/processing/timeline/timeline_test.go
diff options
context:
space:
mode:
authorLibravatar Vyr Cossont <VyrCossont@users.noreply.github.com>2024-07-04 19:29:28 -0700
committerLibravatar GitHub <noreply@github.com>2024-07-04 19:29:28 -0700
commitbe5e532cd21fdbdfd1589186ed66a495ed5b8b35 (patch)
treed70eb05166f08225c484474bbef4bbbdc04bdf2b /internal/processing/timeline/timeline_test.go
parent[feature] Set some security related headers (#3065) (diff)
downloadgotosocial-be5e532cd21fdbdfd1589186ed66a495ed5b8b35.tar.xz
[bugfix] Handle ErrHideStatus when preparing timeline statuses (#3071)
Diffstat (limited to 'internal/processing/timeline/timeline_test.go')
-rw-r--r--internal/processing/timeline/timeline_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/processing/timeline/timeline_test.go b/internal/processing/timeline/timeline_test.go
index 79626830e..593bfb8f3 100644
--- a/internal/processing/timeline/timeline_test.go
+++ b/internal/processing/timeline/timeline_test.go
@@ -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() {