diff options
author | 2024-04-30 15:22:23 +0100 | |
---|---|---|
committer | 2024-04-30 16:22:23 +0200 | |
commit | a8254a40e71cd2b38b488c40490b1e7736c5ca6d (patch) | |
tree | 13fce861be2e1d584338a529bba3586f8e6ea74d /internal/api/activitypub/users/repliesget_test.go | |
parent | [bugfix] retry on http 500 errors *inclusive* (#2886) (diff) | |
download | gotosocial-a8254a40e71cd2b38b488c40490b1e7736c5ca6d.tar.xz |
[bugfix] further paging mishaps (#2884)
* FURTHER paging shenanigans :smiling_face_with_tear:
* remove cursor logic from ToLinkURL()
* fix up paging tests
---------
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
Diffstat (limited to 'internal/api/activitypub/users/repliesget_test.go')
-rw-r--r-- | internal/api/activitypub/users/repliesget_test.go | 2 |
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 e821bc897..cd1df0159 100644 --- a/internal/api/activitypub/users/repliesget_test.go +++ b/internal/api/activitypub/users/repliesget_test.go @@ -161,7 +161,7 @@ func (suite *RepliesGetTestSuite) TestGetRepliesNext() { "type": "OrderedCollectionPage", "id": targetStatus.URI + "/replies?limit=20&only_other_accounts=false", "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", + "next": "http://localhost:8080/users/the_mighty_zork/statuses/01F8MHAMCHF6Y650WCRSCP4WMY/replies?limit=20&max_id=01FF25D5Q0DH7CHD57CTRS6WK0&only_other_accounts=false", "prev": "http://localhost:8080/users/the_mighty_zork/statuses/01F8MHAMCHF6Y650WCRSCP4WMY/replies?limit=20&min_id=01FF25D5Q0DH7CHD57CTRS6WK0&only_other_accounts=false", "orderedItems": []string{"http://localhost:8080/users/admin/statuses/01FF25D5Q0DH7CHD57CTRS6WK0"}, "totalItems": 1, |