mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-09-06 22:33:14 +00:00
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
)
31 lines
No EOL
1.2 KiB
Text
31 lines
No EOL
1.2 KiB
Text
Content-Type: application/json
|
|
Content-Length: 2
|
|
X-Next-Page:
|
|
X-Gitlab-Meta: {"correlation_id":"6b9bc368e2cdc69a1b8e7d2dff7546c5","version":"1"}
|
|
Referrer-Policy: strict-origin-when-cross-origin
|
|
Ratelimit-Reset: 1701333948
|
|
Strict-Transport-Security: max-age=31536000
|
|
X-Per-Page: 2
|
|
X-Total: 2
|
|
Ratelimit-Limit: 2000
|
|
Etag: W/"4f53cda18c2baa0c0354bb5f9a3ecbe5"
|
|
Link: <https://gitlab.com/api/v4/projects/15578026/issues/1/award_emoji?id=15578026&issue_iid=1&page=1&per_page=2>; rel="first", <https://gitlab.com/api/v4/projects/15578026/issues/1/award_emoji?id=15578026&issue_iid=1&page=1&per_page=2>; rel="last"
|
|
X-Runtime: 0.069944
|
|
Ratelimit-Remaining: 1990
|
|
Ratelimit-Resettime: Thu, 30 Nov 2023 08:45:48 GMT
|
|
Gitlab-Sv: localhost
|
|
X-Prev-Page:
|
|
X-Total-Pages: 1
|
|
Ratelimit-Observed: 10
|
|
Gitlab-Lb: haproxy-main-17-lb-gprd
|
|
Content-Security-Policy: default-src 'none'
|
|
X-Content-Type-Options: nosniff
|
|
X-Frame-Options: SAMEORIGIN
|
|
Accept-Ranges: bytes
|
|
Cache-Control: max-age=0, private, must-revalidate
|
|
Vary: Origin, Accept-Encoding
|
|
X-Page: 2
|
|
Cf-Cache-Status: MISS
|
|
Set-Cookie: _cfuvid=vcfsxezcg_2Kdh8xD5coOU_uxQIH1in.6BsRttrSIYg-1701333888217-0-604800000; path=/; domain=.gitlab.com; HttpOnly; Secure; SameSite=None
|
|
|
|
[] |