mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-10-22 17:07:33 +00:00
01b0ead664
Fix gitlab migration unit test Closes #1837. The differences in dates can be explained by commite19b9653ea
, which changed the order in which "created_date" and "updated_date" are considered. (cherry picked from commitb0bba20aa4
) Mock HTTP requests in GitLab migration test This introduces a new utility which can be added to other tests making HTTP calls to a live service, to cache the responses of this service in the repository. (cherry picked from commit52053b1389
) Enable mocked HTTP responses for GitLab migration test (cherry picked from commit19cefc4de2
) Simplify HTTP mocking utility in unit tests Follow-up to https://codeberg.org/forgejo/forgejo/pulls/1841 (cherry picked from commitca517c8bb4
) (cherry picked from commitb227e0dd6b
) (cherry picked from commit6cc9d06556
) (cherry picked from commitf0746e648d
) (cherry picked from commit414193341b
) (cherry picked from commit6e93df3bbb
) (cherry picked from commitdb0dbab552
) (cherry picked from commit8f9c9c63fb
) (cherry picked from commite74e262030
) (cherry picked from commit2e0933edcf
) (cherry picked from commit65060c6961
)
29 lines
2.1 KiB
Plaintext
29 lines
2.1 KiB
Plaintext
Ratelimit-Limit: 2000
|
|
X-Content-Type-Options: nosniff
|
|
Ratelimit-Resettime: Thu, 30 Nov 2023 08:45:48 GMT
|
|
X-Total: 6
|
|
Set-Cookie: _cfuvid=E5GyZy0rB2zrRH0ewMyrJd1wBrt7A2sGNmOHTiWwbYk-1701333888703-0-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None
|
|
X-Next-Page: 3
|
|
X-Page: 2
|
|
Link: <https://gitlab.com/api/v4/projects/15578026/issues/2/award_emoji?id=15578026&issue_iid=2&page=1&per_page=2>; rel="prev", <https://gitlab.com/api/v4/projects/15578026/issues/2/award_emoji?id=15578026&issue_iid=2&page=3&per_page=2>; rel="next", <https://gitlab.com/api/v4/projects/15578026/issues/2/award_emoji?id=15578026&issue_iid=2&page=1&per_page=2>; rel="first", <https://gitlab.com/api/v4/projects/15578026/issues/2/award_emoji?id=15578026&issue_iid=2&page=3&per_page=2>; rel="last"
|
|
X-Gitlab-Meta: {"correlation_id":"41e59fb2e78f5e68518b81bd4ff3bb1b","version":"1"}
|
|
X-Prev-Page: 1
|
|
Cf-Cache-Status: MISS
|
|
Referrer-Policy: strict-origin-when-cross-origin
|
|
Gitlab-Lb: haproxy-main-26-lb-gprd
|
|
Cache-Control: max-age=0, private, must-revalidate
|
|
Etag: W/"d16c513b32212d9286fce6f53340c1cf"
|
|
Vary: Origin, Accept-Encoding
|
|
X-Per-Page: 2
|
|
Strict-Transport-Security: max-age=31536000
|
|
Ratelimit-Reset: 1701333948
|
|
Content-Type: application/json
|
|
X-Runtime: 0.105758
|
|
Ratelimit-Remaining: 1988
|
|
Content-Security-Policy: default-src 'none'
|
|
X-Frame-Options: SAMEORIGIN
|
|
Gitlab-Sv: localhost
|
|
X-Total-Pages: 3
|
|
Ratelimit-Observed: 12
|
|
|
|
[{"id":3009632,"name":"laughing","user":{"id":1241334,"username":"lafriks","name":"Lauris BH","state":"active","locked":false,"avatar_url":"https://gitlab.com/uploads/-/system/user/avatar/1241334/avatar.png","web_url":"https://gitlab.com/lafriks"},"created_at":"2019-11-28T08:47:14.381Z","updated_at":"2019-11-28T08:47:14.381Z","awardable_id":27687706,"awardable_type":"Issue","url":null},{"id":3009634,"name":"tada","user":{"id":1241334,"username":"lafriks","name":"Lauris BH","state":"active","locked":false,"avatar_url":"https://gitlab.com/uploads/-/system/user/avatar/1241334/avatar.png","web_url":"https://gitlab.com/lafriks"},"created_at":"2019-11-28T08:47:18.254Z","updated_at":"2019-11-28T08:47:18.254Z","awardable_id":27687706,"awardable_type":"Issue","url":null}] |