Skip to content

Commit

Permalink
chore: added registrant change api fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
DXTimer committed Dec 8, 2023
1 parent a1a01b8 commit 03811e6
Show file tree
Hide file tree
Showing 9 changed files with 139 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/dnsimple-test/dnsimple-test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,30 @@
<Content Include="fixtures\v2\api\whoami\success.http">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="fixtures\v2\api\checkRegistrantChange\success.http">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="fixtures\v2\api\checkRegistrantChange\error-contactnotfound.http">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="fixtures\v2\api\checkRegistrantChange\error-domainnotfound.http">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="fixtures\v2\api\getRegistrantChange\success.http">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="fixtures\v2\api\createRegistrantChange\success.http">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="fixtures\v2\api\listRegistrantChanges\success.http">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="fixtures\v2\api\deleteRegistrantChange\success.http">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="fixtures\v2\api\deleteRegistrantChange\success_async.http">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="fixtures\v2\webhooks\account.billing_settings_update\example.http">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
HTTP/1.1 404
server: nginx
date: Tue, 22 Aug 2023 13:59:02 GMT
content-type: application/json; charset=utf-8
X-RateLimit-Limit: 2400
X-RateLimit-Remaining: 2395
X-RateLimit-Reset: 1692705338
x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs
cache-control: no-cache
x-request-id: b1dd3f42-ebb9-42fd-a121-d595de96f667
x-runtime: 0.019122
strict-transport-security: max-age=63072000

{"message":"Contact `21` not found"}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
HTTP/1.1 404
server: nginx
date: Tue, 22 Aug 2023 11:09:40 GMT
content-type: application/json; charset=utf-8
X-RateLimit-Limit: 2400
X-RateLimit-Remaining: 2395
X-RateLimit-Reset: 1692705338
x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs
etag: W/"cef1e7d85d0b9bfd25e81b812891d34f"
cache-control: max-age=0, private, must-revalidate
x-request-id: 5b0d8bfb-7b6a-40b5-a079-b640fd817e34
x-runtime: 3.066249
strict-transport-security: max-age=63072000

{"message":"Domain `dnsimple-rraform.bio` not found"}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
HTTP/1.1 200
server: nginx
date: Tue, 22 Aug 2023 11:09:40 GMT
content-type: application/json; charset=utf-8
X-RateLimit-Limit: 2400
X-RateLimit-Remaining: 2395
X-RateLimit-Reset: 1692705338
x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs
etag: W/"cef1e7d85d0b9bfd25e81b812891d34f"
cache-control: max-age=0, private, must-revalidate
x-request-id: 5b0d8bfb-7b6a-40b5-a079-b640fd817e34
x-runtime: 3.066249
strict-transport-security: max-age=63072000

{"data":{"domain_id":101,"contact_id":101,"extended_attributes":[],"registry_owner_change":true}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
HTTP/1.1 202
server: nginx
date: Tue, 22 Aug 2023 11:11:00 GMT
content-type: application/json; charset=utf-8
X-RateLimit-Limit: 2400
X-RateLimit-Remaining: 2395
X-RateLimit-Reset: 1692705338
x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs
cache-control: no-cache
x-request-id: 26bf7ff9-2075-42b0-9431-1778c825b6b0
x-runtime: 3.408950
strict-transport-security: max-age=63072000

{"data":{"id":101,"account_id":101,"domain_id":101,"contact_id":101,"state":"new","extended_attributes":{},"registry_owner_change":true,"irt_lock_lifted_by":null,"created_at":"2016-12-09T19:35:31Z","updated_at":"2016-12-09T19:35:31Z"}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
HTTP/1.1 204 No Content
server: nginx
date: Tue, 22 Aug 2023 11:14:44 GMT
content-type: application/json; charset=utf-8
X-RateLimit-Limit: 2400
X-RateLimit-Remaining: 2395
X-RateLimit-Reset: 1692705338
x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs
cache-control: no-cache
x-request-id: b123e1f0-aa70-4abb-95cf-34f377c83ef4
x-runtime: 0.114839
strict-transport-security: max-age=63072000

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
HTTP/1.1 202
server: nginx
date: Tue, 22 Aug 2023 11:11:00 GMT
content-type: application/json; charset=utf-8
X-RateLimit-Limit: 2400
X-RateLimit-Remaining: 2395
X-RateLimit-Reset: 1692705338
x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs
cache-control: no-cache
x-request-id: 26bf7ff9-2075-42b0-9431-1778c825b6b0
x-runtime: 3.408950
strict-transport-security: max-age=63072000

{"data":{"id":101,"account_id":101,"domain_id":101,"contact_id":101,"state":"cancelling","extended_attributes":{},"registry_owner_change":true,"irt_lock_lifted_by":null,"created_at":"2017-02-03T17:43:22Z","updated_at":"2017-02-03T17:43:22Z"}}
15 changes: 15 additions & 0 deletions src/dnsimple-test/fixtures/v2/api/getRegistrantChange/success.http
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
HTTP/1.1 200
server: nginx
date: Tue, 22 Aug 2023 11:13:58 GMT
content-type: application/json; charset=utf-8
X-RateLimit-Limit: 2400
X-RateLimit-Remaining: 2395
X-RateLimit-Reset: 1692705338
x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs
etag: W/"76c5d4c7579b754b94a42ac7fa37a901"
cache-control: max-age=0, private, must-revalidate
x-request-id: e910cd08-3f9c-4da4-9986-50dbe9c3bc55
x-runtime: 0.022006
strict-transport-security: max-age=63072000

{"data":{"id":101,"account_id":101,"domain_id":101,"contact_id":101,"state":"new","extended_attributes":{},"registry_owner_change":true,"irt_lock_lifted_by":null,"created_at":"2016-12-09T19:35:31Z","updated_at":"2016-12-09T19:35:31Z"}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
HTTP/1.1 200
server: nginx
date: Tue, 22 Aug 2023 11:12:49 GMT
content-type: application/json; charset=utf-8
X-RateLimit-Limit: 2400
X-RateLimit-Remaining: 2395
X-RateLimit-Reset: 1692705338
x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs
etag: W/"0049703ea058b06346df4c0e169eac29"
cache-control: max-age=0, private, must-revalidate
x-request-id: fd0334ce-414a-4872-8889-e548e0b1410c
x-runtime: 0.030759
strict-transport-security: max-age=63072000

{"data":[{"id":101,"account_id":101,"domain_id":101,"contact_id":101,"state":"new","extended_attributes":{},"registry_owner_change":true,"irt_lock_lifted_by":null,"created_at":"2017-02-03T17:43:22Z","updated_at":"2017-02-03T17:43:22Z"}],"pagination":{"current_page":1,"per_page":30,"total_entries":1,"total_pages":1}}

0 comments on commit 03811e6

Please sign in to comment.