mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-03 05:10:11 +00:00
[MODERATION] cope with shared fixtures
* There is one more issue in the fixtures and this breaks some tests * The users in the shared fixtures were renamed for clarity and that breaks some tests (cherry picked from commit707a4edbdf
) Conflicts: modules/indexer/issues/indexer_test.go https://codeberg.org/forgejo/forgejo/pulls/1508 (cherry picked from commit82cc044366
) (cherry picked from commit2776aec7e8
) (cherry picked from commit1fbde36dc7
) (cherry picked from commit1293db3c4e
) (cherry picked from commit6476802175
) (cherry picked from commit5740f2fc83
)
This commit is contained in:
parent
ec127440b8
commit
afc12d7b6e
5 changed files with 15 additions and 15 deletions
|
@ -411,7 +411,7 @@ func TestAPISearchIssues(t *testing.T) {
|
|||
resp = MakeRequest(t, req, http.StatusOK)
|
||||
DecodeJSON(t, resp, &apiIssues)
|
||||
assert.EqualValues(t, "21", resp.Header().Get("X-Total-Count"))
|
||||
assert.Len(t, apiIssues, 21)
|
||||
assert.Len(t, apiIssues, 20)
|
||||
|
||||
query.Add("limit", "10")
|
||||
link.RawQuery = query.Encode()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue