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,12 @@
Content-Type: application/xml; charset=utf-8
<?xml version="1.0" encoding="UTF-8"?>
<users type="array">
<user>
<email-address>gitea-codebase@smack.email</email-address>
<id type="integer">43</id>
<last-name>Test</last-name>
<first-name>Gitea</first-name>
<username>gitea-test-43</username>
</user>
</users>