summaryrefslogtreecommitdiff
path: root/internal/timeline/get_test.go
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2023-09-12 14:00:35 +0100
committerLibravatar GitHub <noreply@github.com>2023-09-12 14:00:35 +0100
commit7293d6029b43db693fd170c0c087394339da0677 (patch)
tree09063243faf1b178fde35973486e311f66b1ca33 /internal/timeline/get_test.go
parent[feature] Allow admins to expire remote public keys; refetch expired keys on ... (diff)
downloadgotosocial-7293d6029b43db693fd170c0c087394339da0677.tar.xz
[feature] add paging to account follows, followers and follow requests endpoints (#2186)
Diffstat (limited to 'internal/timeline/get_test.go')
-rw-r--r--internal/timeline/get_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/timeline/get_test.go b/internal/timeline/get_test.go
index 7b31ec977..4522d5858 100644
--- a/internal/timeline/get_test.go
+++ b/internal/timeline/get_test.go
@@ -66,6 +66,7 @@ func (suite *GetTestSuite) emptyAccountFollows(ctx context.Context, accountID st
follows, err := suite.state.DB.GetAccountFollows(
gtscontext.SetBarebones(ctx),
accountID,
+ nil, // select all
)
if err != nil {
suite.FailNow(err.Error())
@@ -82,6 +83,7 @@ func (suite *GetTestSuite) emptyAccountFollows(ctx context.Context, accountID st
follows, err = suite.state.DB.GetAccountFollows(
gtscontext.SetBarebones(ctx),
accountID,
+ nil, // select all
)
if err != nil {
suite.FailNow(err.Error())