summaryrefslogtreecommitdiff
path: root/internal/api/client/statuses/statushistory_test.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-05-01 15:11:22 +0200
committerLibravatar GitHub <noreply@github.com>2024-05-01 14:11:22 +0100
commit725a21b02721f92ed0420ed3f807ee921de77992 (patch)
tree3940e4b0a7cf3328357ccb86be971126ab2a12b5 /internal/api/client/statuses/statushistory_test.go
parent[bugfix] Tidy up remaining references to workers in cmd (#2889) (diff)
downloadgotosocial-725a21b02721f92ed0420ed3f807ee921de77992.tar.xz
[feature] Page through accounts as moderator (#2881)
* [feature] Page through accounts as moderator * aaaaa * use COLLATE "C" for Postgres to ensure same ordering as SQLite * fix typo, test paging up * don't show moderation / info for our instance acct
Diffstat (limited to 'internal/api/client/statuses/statushistory_test.go')
-rw-r--r--internal/api/client/statuses/statushistory_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/api/client/statuses/statushistory_test.go b/internal/api/client/statuses/statushistory_test.go
index e524e9239..a0cb3d482 100644
--- a/internal/api/client/statuses/statushistory_test.go
+++ b/internal/api/client/statuses/statushistory_test.go
@@ -50,10 +50,10 @@ func (suite *StatusHistoryTestSuite) TestGetHistory() {
// Setup request.
recorder := httptest.NewRecorder()
- request := httptest.NewRequest(http.MethodGet, target, nil)
+ request := httptest.NewRequest(http.MethodGet, target, nil)
request.Header.Set("accept", "application/json")
ctx, _ := testrig.CreateGinTestContext(recorder, request)
-
+
// Set auth + path params.
ctx.Set(oauth.SessionAuthorizedApplication, testApplication)
ctx.Set(oauth.SessionAuthorizedToken, testToken)