summaryrefslogtreecommitdiff
path: root/internal/api/activitypub/users/repliesget_test.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-12-10 12:36:00 +0100
committerLibravatar GitHub <noreply@github.com>2023-12-10 12:36:00 +0100
commitd60edf7ec61537d70915c41de5526b81dd795a2c (patch)
treebcd69cc2322198828961d71c27444a334894f7fa /internal/api/activitypub/users/repliesget_test.go
parent[bugfix] Fix web media not showing as sensitive (#2433) (diff)
downloadgotosocial-d60edf7ec61537d70915c41de5526b81dd795a2c.tar.xz
[bugfix] Ensure `pre` renders as expected, fix orderedCollectionPage (#2434)
Diffstat (limited to 'internal/api/activitypub/users/repliesget_test.go')
-rw-r--r--internal/api/activitypub/users/repliesget_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/activitypub/users/repliesget_test.go b/internal/api/activitypub/users/repliesget_test.go
index d20d8c6c0..757d0bc83 100644
--- a/internal/api/activitypub/users/repliesget_test.go
+++ b/internal/api/activitypub/users/repliesget_test.go
@@ -163,7 +163,7 @@ func (suite *RepliesGetTestSuite) TestGetRepliesNext() {
"partOf": targetStatus.URI + "/replies?only_other_accounts=false",
"next": "http://localhost:8080/users/the_mighty_zork/statuses/01F8MHAMCHF6Y650WCRSCP4WMY/replies?limit=20&min_id=01FF25D5Q0DH7CHD57CTRS6WK0&only_other_accounts=false",
"prev": "http://localhost:8080/users/the_mighty_zork/statuses/01F8MHAMCHF6Y650WCRSCP4WMY/replies?limit=20&max_id=01FF25D5Q0DH7CHD57CTRS6WK0&only_other_accounts=false",
- "orderedItems": "http://localhost:8080/users/admin/statuses/01FF25D5Q0DH7CHD57CTRS6WK0",
+ "orderedItems": []string{"http://localhost:8080/users/admin/statuses/01FF25D5Q0DH7CHD57CTRS6WK0"},
"totalItems": 1,
})
assert.Equal(suite.T(), expect, string(b))