Remove external service dependencies in migration tests (#36866)

Fix #36859

Replace live third-party API calls in migration tests with a
fixture-based HTTP mock server. Fixtures are committed so tests run
offline by default; live recording is gated per service on an API-token
env var.

Co-authored-by: Claude (Opus 4.7) <noreply@anthropic.com>
This commit is contained in:
silverwind
2026-04-23 17:18:53 +02:00
committed by GitHub
parent 12d83cbfa3
commit 7947851e57
176 changed files with 2446 additions and 160 deletions
@@ -0,0 +1,41 @@
Content-Type: application/xml; charset=utf-8
<?xml version="1.0" encoding="UTF-8"?>
<tickets type="array">
<ticket>
<ticket-id type="integer">2</ticket-id>
<summary>Open Ticket</summary>
<ticket-type>Feature</ticket-type>
<reporter-id type="integer">43</reporter-id>
<reporter>gitea-test-43</reporter>
<type>
<name>Feature</name>
</type>
<status>
<treat-as-closed type="boolean">false</treat-as-closed>
</status>
<milestone>
<name></name>
</milestone>
<updated-at type="datetime">2021-09-26T19:19:34+00:00</updated-at>
<created-at type="datetime">2021-09-26T19:19:14+00:00</created-at>
</ticket>
<ticket>
<ticket-id type="integer">1</ticket-id>
<summary>Closed Ticket</summary>
<ticket-type>Bug</ticket-type>
<reporter-id type="integer">43</reporter-id>
<reporter>gitea-test-43</reporter>
<type>
<name>Bug</name>
</type>
<status>
<treat-as-closed type="boolean">true</treat-as-closed>
</status>
<milestone>
<name>Milestone1</name>
</milestone>
<updated-at type="datetime">2021-09-26T19:18:55+00:00</updated-at>
<created-at type="datetime">2021-09-26T19:18:33+00:00</created-at>
</ticket>
</tickets>