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:
+21
@@ -0,0 +1,21 @@
|
||||
Content-Type: application/xml; charset=utf-8
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ticketing-milestone type="array">
|
||||
<ticketing-milestone>
|
||||
<id type="integer">1</id>
|
||||
<identifier>milestone1</identifier>
|
||||
<name>Milestone1</name>
|
||||
<deadline type="date">2021-09-16</deadline>
|
||||
<description></description>
|
||||
<status>active</status>
|
||||
</ticketing-milestone>
|
||||
<ticketing-milestone>
|
||||
<id type="integer">2</id>
|
||||
<identifier>milestone2</identifier>
|
||||
<name>Milestone2</name>
|
||||
<deadline type="date">2021-09-17</deadline>
|
||||
<description></description>
|
||||
<status>closed</status>
|
||||
</ticketing-milestone>
|
||||
</ticketing-milestone>
|
||||
Reference in New Issue
Block a user