summaryrefslogtreecommitdiff
path: root/internal/timeline/timeline_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/timeline/timeline_test.go')
-rw-r--r--internal/timeline/timeline_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/timeline/timeline_test.go b/internal/timeline/timeline_test.go
index 94e2681c8..2207a3418 100644
--- a/internal/timeline/timeline_test.go
+++ b/internal/timeline/timeline_test.go
@@ -21,6 +21,7 @@ import (
"github.com/stretchr/testify/suite"
"github.com/superseriousbusiness/gotosocial/internal/db"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"
+ "github.com/superseriousbusiness/gotosocial/internal/state"
"github.com/superseriousbusiness/gotosocial/internal/timeline"
"github.com/superseriousbusiness/gotosocial/internal/typeutils"
"github.com/superseriousbusiness/gotosocial/internal/visibility"
@@ -29,8 +30,9 @@ import (
type TimelineStandardTestSuite struct {
suite.Suite
db db.DB
+ state state.State
tc typeutils.TypeConverter
- filter visibility.Filter
+ filter *visibility.Filter
testAccounts map[string]*gtsmodel.Account
testStatuses map[string]*gtsmodel.Status