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:
+19
@@ -0,0 +1,19 @@
|
||||
Content-Type: application/xml; charset=utf-8
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ticket-notes type="array">
|
||||
<ticket-note>
|
||||
<content>Open Ticket Message</content>
|
||||
<created-at type="datetime">2021-09-26T19:19:14+00:00</created-at>
|
||||
<updated-at type="datetime">2021-09-26T19:19:14+00:00</updated-at>
|
||||
<id type="integer">100</id>
|
||||
<user-id type="integer">43</user-id>
|
||||
</ticket-note>
|
||||
<ticket-note>
|
||||
<content>open comment</content>
|
||||
<created-at type="datetime">2021-09-26T19:19:34+00:00</created-at>
|
||||
<updated-at type="datetime">2021-09-26T19:19:34+00:00</updated-at>
|
||||
<id type="integer">101</id>
|
||||
<user-id type="integer">43</user-id>
|
||||
</ticket-note>
|
||||
</ticket-notes>
|
||||
Reference in New Issue
Block a user