summaryrefslogtreecommitdiff
path: root/internal/visibility/filter_test.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2022-04-29 15:05:13 +0200
committerLibravatar GitHub <noreply@github.com>2022-04-29 15:05:13 +0200
commit63f84da3e45d4e1cace427c6d30f19ba7e621618 (patch)
treec99679350b1b3ed64451f894fd485cc3dc9c8b0a /internal/visibility/filter_test.go
parent[feature] allow absolute path to templates (#507) (diff)
downloadgotosocial-63f84da3e45d4e1cace427c6d30f19ba7e621618.tar.xz
[chore] Inboxes for iri test (#508)
* tidy up some federation tests * add missing license to following.go * give zork some followers, as a treat * test InboxesForIRI * Go fmt * update timeline tests
Diffstat (limited to 'internal/visibility/filter_test.go')
-rw-r--r--internal/visibility/filter_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/visibility/filter_test.go b/internal/visibility/filter_test.go
index 5c10a4210..1283a50de 100644
--- a/internal/visibility/filter_test.go
+++ b/internal/visibility/filter_test.go
@@ -41,6 +41,7 @@ type FilterStandardTestSuite struct {
testStatuses map[string]*gtsmodel.Status
testTags map[string]*gtsmodel.Tag
testMentions map[string]*gtsmodel.Mention
+ testFollows map[string]*gtsmodel.Follow
filter visibility.Filter
}
@@ -55,6 +56,7 @@ func (suite *FilterStandardTestSuite) SetupSuite() {
suite.testStatuses = testrig.NewTestStatuses()
suite.testTags = testrig.NewTestTags()
suite.testMentions = testrig.NewTestMentions()
+ suite.testFollows = testrig.NewTestFollows()
}
func (suite *FilterStandardTestSuite) SetupTest() {