Skip to content

Commit 34c7959

Browse files
github-actions[bot]github-actions
andauthored
chore: sync test fixtures as of 2025-09-05 08:20:57 (#473)
Co-authored-by: github-actions <[email protected]>
1 parent 6b9af28 commit 34c7959

File tree

6 files changed

+65
-4
lines changed

6 files changed

+65
-4
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
HTTP/2 400
2+
server: nginx
3+
date: Fri, 05 Sep 2025 06:58:03 GMT
4+
content-type: application/json; charset=utf-8
5+
content-length: 120
6+
x-ratelimit-limit: 2400
7+
x-ratelimit-remaining: 2385
8+
x-ratelimit-reset: 1757058040
9+
x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs
10+
cache-control: no-cache
11+
x-request-id: 44ce10e5-04cc-4428-8473-55739ff6e37a
12+
x-runtime: 0.109317
13+
strict-transport-security: max-age=63072000
14+
15+
{"message":"Validation failed","errors":{"creates":[{"index":1,"message":"The SPF record type has been discontinued"}]}}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
HTTP/2 400
2+
server: nginx
3+
date: Fri, 05 Sep 2025 06:50:48 GMT
4+
content-type: application/json; charset=utf-8
5+
content-length: 107
6+
x-ratelimit-limit: 2400
7+
x-ratelimit-remaining: 2390
8+
x-ratelimit-reset: 1757058040
9+
x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs
10+
cache-control: no-cache
11+
x-request-id: 254988cd-401b-4a32-b5d8-c25502573c9a
12+
x-runtime: 0.105704
13+
strict-transport-security: max-age=63072000
14+
15+
{"message":"Validation failed","errors":{"deletes":[{"index":0,"message":"Record not found ID=67622509"}]}}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
HTTP/2 400
2+
server: nginx
3+
date: Fri, 05 Sep 2025 06:52:30 GMT
4+
content-type: application/json; charset=utf-8
5+
content-length: 107
6+
x-ratelimit-limit: 2400
7+
x-ratelimit-remaining: 2388
8+
x-ratelimit-reset: 1757058040
9+
x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs
10+
cache-control: no-cache
11+
x-request-id: e042a192-69de-46b5-9ea0-add647a9b20a
12+
x-runtime: 0.170298
13+
strict-transport-security: max-age=63072000
14+
15+
{"message":"Validation failed","errors":{"updates":[{"index":0,"message":"Record not found ID=99999999"}]}}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
HTTP/2 200
2+
server: nginx
3+
date: Fri, 05 Sep 2025 05:25:01 GMT
4+
content-type: application/json; charset=utf-8
5+
content-length: 1082
6+
x-ratelimit-limit: 2400
7+
x-ratelimit-remaining: 2399
8+
x-ratelimit-reset: 1757053501
9+
x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs
10+
etag: W/"0d9f98e87eccabb6c8045c7fd0b61e5e"
11+
cache-control: max-age=0, private, must-revalidate
12+
x-request-id: f331c43b-7f06-4b1f-90a1-e88efee10c1c
13+
x-runtime: 0.334890
14+
strict-transport-security: max-age=63072000
15+
16+
{"data":{"creates":[{"id":67623409,"zone_id":"example.com","parent_id":null,"name":"ab","content":"3.2.3.4","ttl":3600,"priority":null,"type":"A","regions":["global"],"system_record":false,"created_at":"2025-09-05T05:25:00Z","updated_at":"2025-09-05T05:25:00Z"},{"id":67623410,"zone_id":"example.com","parent_id":null,"name":"ab","content":"4.2.3.4","ttl":3600,"priority":null,"type":"A","regions":["global"],"system_record":false,"created_at":"2025-09-05T05:25:00Z","updated_at":"2025-09-05T05:25:00Z"}],"updates":[{"id":67622534,"zone_id":"example.com","parent_id":null,"name":"update1-1757049890","content":"3.2.3.40","ttl":3600,"priority":null,"type":"A","regions":["global"],"system_record":false,"created_at":"2025-09-05T04:40:15Z","updated_at":"2025-09-05T05:25:00Z"},{"id":67622537,"zone_id":"example.com","parent_id":null,"name":"update2-1757049890","content":"5.2.3.40","ttl":3600,"priority":null,"type":"A","regions":["global"],"system_record":false,"created_at":"2025-09-05T04:40:22Z","updated_at":"2025-09-05T05:25:00Z"}],"deletes":[{"id":67622509},{"id":67622527}]}}

tests/fixtures/v2/webhooks/dnssec.rotation_complete/example.http

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Host: example.com
33
Accept-Encoding: gzip
44
Content-Type: application/json
55
User-Agent: DNSimple-Webhook-Notifier/46408cbfd86e25e0a375a09353a73c55a4825a28
6-
Content-Length: 682
6+
Content-Length: 1116
77
Connection: keep-alive
88

9-
{"data": {"dnssec": {"enabled": true, "created_at": "2017-07-19T18:52:55Z", "updated_at": "2017-07-19T18:52:55Z"}, "delegation_signer_record": {"id": 4662, "digest": "EF1D343203E03F1C98120646971F7B96806B759B66622F0A224551DA1A1EFC9A", "keytag": "51364", "algorithm": "8", "domain_id": 252645, "created_at": "2018-07-02T22:00:00Z", "updated_at": "2018-07-02T22:00:00Z", "digest_type": "2", "public_key": null}}, "name": "dnssec.rotation_complete", "actor": {"id": "system", "entity": "dnsimple", "pretty": "[email protected]"}, "account": {"id": 123, "display": "Personal", "identifier": "foobar"}, "api_version": "v2", "request_identifier": "efae385b-2caa-4861-848a-55d0c5a72e26"}
9+
{"data": {"zone": {"id": 315333, "name": "example-20230920163010.com", "active": true, "reverse": false, "secondary": false, "account_id": 625, "created_at": "2023-09-20T14:30:19Z", "updated_at": "2025-06-13T13:11:52Z", "last_transferred_at": null}, "dnssec": {"enabled": true, "created_at": "2025-06-13T13:11:52Z", "updated_at": "2025-06-13T13:11:52Z"}, "delegation_signer_record": {"id": null, "digest": "992059C73169F2D049377884F210F893CF19CB56A4F8198B6424FF3D9BA1B4AA", "keytag": "25337", "algorithm": "8", "domain_id": 41557, "created_at": null, "public_key": "AwEAAb/7eqMeecFAp+KygQzEBGR204F35ATbY000IpetSFWJMlBHPnh6tKP9gJFQyI3hfPTO3fAcr5G7dRrWE6zECHicMm062h8IcHukIpTTOF1PnHhVI47Mk1ZHwAgmx12e8MhoTUPNqutpZG/AsLfN9T3vMQWKDDGwk5sM2JgWXcBa4ys2f0AnYOQain0LGdTUxl76B16MK1BqaNwZrTNo71U=", "updated_at": null, "digest_type": "2"}}, "name": "dnssec.rotation_complete", "actor": {"id": "", "entity": "dnsimple", "pretty": "[email protected]"}, "account": {"id": 625, "display": "Webhook Tests", "identifier": "[email protected]"}, "api_version": "v2", "request_identifier": "f26050c7-cb4e-49be-bab1-e42f27f5b60a"}

tests/fixtures/v2/webhooks/dnssec.rotation_start/example.http

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Host: example.com
33
Accept-Encoding: gzip
44
Content-Type: application/json
55
User-Agent: DNSimple-Webhook-Notifier/46408cbfd86e25e0a375a09353a73c55a4825a28
6-
Content-Length: 678
6+
Content-Length: 1113
77
Connection: keep-alive
88

9-
{"data": {"dnssec": {"enabled": true, "created_at": "2017-02-06T20:15:05Z", "updated_at": "2017-02-06T20:15:05Z"}, "delegation_signer_record": {"id": 6037, "digest": "BD9D898E92D0F668E6BDBC5E79D52E5C3BAB12823A6EEE8C8B6DC633007DFABC", "keytag": "27472", "algorithm": "8", "domain_id": 41557, "created_at": "2018-10-09T02:00:02Z", "updated_at": "2018-10-09T02:00:02Z", "digest_type": "2", "public_key": null}}, "name": "dnssec.rotation_start", "actor": {"id": "system", "entity": "dnsimple", "pretty": "[email protected]"}, "account": {"id": 123, "display": "Personal", "identifier": "foobar"}, "api_version": "v2", "request_identifier": "b2ddc716-f621-418c-a6a9-6a2c2d7acd27"}
9+
{"data": {"zone": {"id": 315333, "name": "example-20230920163010.com", "active": true, "reverse": false, "secondary": false, "account_id": 625, "created_at": "2023-09-20T14:30:19Z", "updated_at": "2025-06-13T13:11:52Z", "last_transferred_at": null}, "dnssec": {"enabled": true, "created_at": "2025-06-13T13:11:52Z", "updated_at": "2025-06-13T13:11:52Z"}, "delegation_signer_record": {"id": null, "digest": "42AEE231E98FECE484E9FA983CEF28AFFA56E99AD26347806BC6AF291F67DE83", "keytag": "60812", "algorithm": "8", "domain_id": 30943, "created_at": null, "public_key": "AwEAAefkQW+2ZO79nSaQ2eUVGhdmcapkGvZcmc5Xd9ig50k76eldueP198qtMsCV+27KZLqphTbYb4zOh1cF432TyKluZu89VzeVNC7Lq4kxDN1ahJfOCmBXg+/JAbb+NtKzH751CP/cWbwAShCwRb10TipwmTdZRYdOs3y9tKQq7BIE4YnEGrGb4lfCXrKK15Jn2im2f/MtVEuSF+eDB3X/XPU=", "updated_at": null, "digest_type": "2"}}, "name": "dnssec.rotation_start", "actor": {"id": "", "entity": "dnsimple", "pretty": "[email protected]"}, "account": {"id": 625, "display": "Webhook Tests", "identifier": "[email protected]"}, "api_version": "v2", "request_identifier": "cf0252ab-80ea-40ab-8590-7b145d28dd61"}

0 commit comments

Comments
 (0)