Skip to content

Commit 42bb82e

Browse files
github-actions[bot]github-actionslokst
authored
chore: Sync fixtures as of 2025-08-15 01:17:41 (#208)
* chore: sync test fixtures as of 2025-08-15 01:17:41 * Fix test --------- Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Stella Lok <stellalok@gmail.com>
1 parent b4306f6 commit 42bb82e

File tree

40 files changed

+276
-282
lines changed

40 files changed

+276
-282
lines changed

src/test/java/com/dnsimple/endpoints/ZonesTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ public void testActivateDns() {
2929
assertThat(z.getAccountId(), is(1010L));
3030
assertThat(z.getName(), is("example.com"));
3131
assertThat(z.isReverse(), is(false));
32-
assertThat(z.getCreatedAt(), is(OffsetDateTime.of(2015, 4, 23, 7, 40, 3, 0, ZoneOffset.UTC)));
33-
assertThat(z.getUpdatedAt(), is(OffsetDateTime.of(2015, 4, 23, 7, 40, 3, 0, ZoneOffset.UTC)));
32+
assertThat(z.getCreatedAt(), is(OffsetDateTime.of(2022, 9, 28, 4, 45, 24, 0, ZoneOffset.UTC)));
33+
assertThat(z.getUpdatedAt(), is(OffsetDateTime.of(2023, 7, 6, 11, 19, 48, 0, ZoneOffset.UTC)));
3434
}
3535

3636
@Test
@@ -41,8 +41,8 @@ public void testDeactivateDns() {
4141
assertThat(z.getAccountId(), is(1010L));
4242
assertThat(z.getName(), is("example.com"));
4343
assertThat(z.isReverse(), is(false));
44-
assertThat(z.getCreatedAt(), is(OffsetDateTime.of(2015, 4, 23, 7, 40, 3, 0, ZoneOffset.UTC)));
45-
assertThat(z.getUpdatedAt(), is(OffsetDateTime.of(2015, 4, 23, 7, 40, 3, 0, ZoneOffset.UTC)));
44+
assertThat(z.getCreatedAt(), is(OffsetDateTime.of(2022, 9, 28, 4, 45, 24, 0, ZoneOffset.UTC)));
45+
assertThat(z.getUpdatedAt(), is(OffsetDateTime.of(2023, 8, 8, 4, 19, 52, 0, ZoneOffset.UTC)));
4646
}
4747

4848
@Test

src/test/resources/com/dnsimple/accounts/success-user.http

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ X-Permitted-Cross-Domain-Policies: none
1717
X-XSS-Protection: 1; mode=block
1818
Strict-Transport-Security: max-age=31536000
1919

20-
{"data":[{"id":123,"email":"john@example.com","plan_identifier":"dnsimple-personal","created_at":"2011-09-11T17:15:58Z","updated_at":"2016-06-03T15:02:26Z"},{"id":456,"email":"ops@company.com","plan_identifier":"dnsimple-professional","created_at":"2012-03-16T16:02:54Z","updated_at":"2016-06-14T11:23:16Z"}]}
20+
{"data":[{"id":123,"email":"john@example.com","plan_identifier":"dnsimple-personal","created_at":"2011-09-11T17:15:58Z","updated_at":"2016-06-03T15:02:26Z"},{"id":456,"email":"ops@company.com","plan_identifier":"teams-v1-monthly","created_at":"2012-03-16T16:02:54Z","updated_at":"2016-06-14T11:23:16Z"}]}
21+
Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
HTTP/1.1 200 OK
2-
Server: nginx
3-
Date: Tue, 08 Aug 2023 04:19:23 GMT
4-
Content-Type: application/json; charset=utf-8
5-
Connection: keep-alive
6-
X-RateLimit-Limit: 2400
7-
X-RateLimit-Remaining: 2399
8-
X-RateLimit-Reset: 1691471963
9-
X-WORK-WITH-US: Love automation? So do we! https://dnsimple.com/jobs
10-
ETag: W/"fe6afd982459be33146933235343d51d"
11-
Cache-Control: max-age=0, private, must-revalidate
12-
X-Request-Id: 8e8ac535-9f46-4304-8440-8c68c30427c3
13-
X-Runtime: 0.176579
14-
Strict-Transport-Security: max-age=63072000
15-
16-
{"data":{"id":1,"account_id":1010,"name":"example.com","reverse":false,"secondary":false,"last_transferred_at":null,"active":true,"created_at":"2015-04-23T07:40:03Z","updated_at":"2015-04-23T07:40:03Z"}}
1+
HTTP/1.1 200 OK
2+
Server: nginx
3+
Date: Tue, 08 Aug 2023 04:19:23 GMT
4+
Content-Type: application/json; charset=utf-8
5+
Connection: keep-alive
6+
X-RateLimit-Limit: 2400
7+
X-RateLimit-Remaining: 2399
8+
X-RateLimit-Reset: 1691471963
9+
X-WORK-WITH-US: Love automation? So do we! https://dnsimple.com/jobs
10+
ETag: W/"fe6afd982459be33146933235343d51d"
11+
Cache-Control: max-age=0, private, must-revalidate
12+
X-Request-Id: 8e8ac535-9f46-4304-8440-8c68c30427c3
13+
X-Runtime: 0.176579
14+
Strict-Transport-Security: max-age=63072000
15+
16+
{"data":{"id":1,"account_id":1010,"name":"example.com","reverse":false,"secondary":false,"last_transferred_at":null,"active":true,"created_at":"2022-09-28T04:45:24Z","updated_at":"2023-07-06T11:19:48Z"}}

src/test/resources/com/dnsimple/addCollaborator/invite-success.http

Lines changed: 0 additions & 20 deletions
This file was deleted.

src/test/resources/com/dnsimple/addCollaborator/success.http

Lines changed: 0 additions & 20 deletions
This file was deleted.
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
HTTP/1.1 200
2-
server: nginx
3-
date: Tue, 22 Aug 2023 11:09:40 GMT
4-
content-type: application/json; charset=utf-8
5-
x-ratelimit-limit: 2400
6-
x-ratelimit-remaining: 2395
7-
x-ratelimit-reset: 1692705338
8-
x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs
9-
etag: W/"cef1e7d85d0b9bfd25e81b812891d34f"
10-
cache-control: max-age=0, private, must-revalidate
11-
x-request-id: 5b0d8bfb-7b6a-40b5-a079-b640fd817e34
12-
x-runtime: 3.066249
13-
strict-transport-security: max-age=63072000
14-
1+
HTTP/1.1 200
2+
server: nginx
3+
date: Tue, 22 Aug 2023 11:09:40 GMT
4+
content-type: application/json; charset=utf-8
5+
x-ratelimit-limit: 2400
6+
x-ratelimit-remaining: 2395
7+
x-ratelimit-reset: 1692705338
8+
x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs
9+
etag: W/"cef1e7d85d0b9bfd25e81b812891d34f"
10+
cache-control: max-age=0, private, must-revalidate
11+
x-request-id: 5b0d8bfb-7b6a-40b5-a079-b640fd817e34
12+
x-runtime: 3.066249
13+
strict-transport-security: max-age=63072000
14+
1515
{"data":{"domain_id":101,"contact_id":101,"extended_attributes":[],"registry_owner_change":true}}

src/test/resources/com/dnsimple/createEmailForward/created.http

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ HTTP/1.1 201 Created
22
Server: nginx
33
Date: Mon, 25 Jan 2021 13:54:40 GMT
44
Content-Type: application/json; charset=utf-8
5-
Transfer-Encoding: identity
65
Connection: keep-alive
76
X-RateLimit-Limit: 4800
87
X-RateLimit-Remaining: 4772
@@ -19,4 +18,4 @@ X-Permitted-Cross-Domain-Policies: none
1918
Content-Security-Policy: frame-ancestors 'none'
2019
Strict-Transport-Security: max-age=31536000
2120

22-
{"data":{"id":41872,"domain_id":235146,"alias_email":"example@dnsimple.xyz","destination_email":"example@example.com","created_at":"2021-01-25T13:54:40Z","updated_at":"2021-01-25T13:54:40Z","from":"example@dnsimple.xyz","to":"example@example.com"}}
21+
{"data":{"id":41872,"domain_id":235146,"alias_email":"example@dnsimple.xyz","destination_email":"example@example.com","created_at":"2021-01-25T13:54:40Z","updated_at":"2021-01-25T13:54:40Z","from":"example@dnsimple.xyz","to":"example@example.com","active":true}}
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
HTTP/1.1 202
2-
server: nginx
3-
date: Tue, 22 Aug 2023 11:11:00 GMT
4-
content-type: application/json; charset=utf-8
5-
x-ratelimit-limit: 2400
6-
x-ratelimit-remaining: 2394
7-
x-ratelimit-reset: 1692705339
8-
x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs
9-
cache-control: no-cache
10-
x-request-id: 26bf7ff9-2075-42b0-9431-1778c825b6b0
11-
x-runtime: 3.408950
12-
strict-transport-security: max-age=63072000
13-
1+
HTTP/1.1 202
2+
server: nginx
3+
date: Tue, 22 Aug 2023 11:11:00 GMT
4+
content-type: application/json; charset=utf-8
5+
x-ratelimit-limit: 2400
6+
x-ratelimit-remaining: 2394
7+
x-ratelimit-reset: 1692705339
8+
x-work-with-us: Love automation? So do we! https://dnsimple.com/jobs
9+
cache-control: no-cache
10+
x-request-id: 26bf7ff9-2075-42b0-9431-1778c825b6b0
11+
x-runtime: 3.408950
12+
strict-transport-security: max-age=63072000
13+
1414
{"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"}}
Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
HTTP/1.1 201 Created
2-
Server: nginx
3-
Date: Mon, 15 Feb 2016 17:04:38 GMT
4-
Content-Type: application/json; charset=utf-8
5-
Connection: keep-alive
6-
Status: 201 Created
7-
X-RateLimit-Limit: 4000
8-
X-RateLimit-Remaining: 3996
9-
X-RateLimit-Reset: 1455559348
10-
ETag: W/"a4b43ee926d18d0839f1eae08e78c66b"
11-
Cache-Control: max-age=0, private, must-revalidate
12-
X-Request-Id: dca89281-416a-4766-9428-d0295f58586e
13-
X-Runtime: 0.175179
14-
Strict-Transport-Security: max-age=31536000
15-
16-
{"data":{"id":1,"url":"https://webhook.test"}}
1+
HTTP/1.1 201 Created
2+
Server: nginx
3+
Date: Mon, 15 Feb 2016 17:04:38 GMT
4+
Content-Type: application/json; charset=utf-8
5+
Connection: keep-alive
6+
Status: 201 Created
7+
X-RateLimit-Limit: 4000
8+
X-RateLimit-Remaining: 3996
9+
X-RateLimit-Reset: 1455559348
10+
ETag: W/"a4b43ee926d18d0839f1eae08e78c66b"
11+
Cache-Control: max-age=0, private, must-revalidate
12+
X-Request-Id: dca89281-416a-4766-9428-d0295f58586e
13+
X-Runtime: 0.175179
14+
Strict-Transport-Security: max-age=31536000
15+
16+
{"data":{"id":1,"url":"https://webhook.test","suppressed_at": null}}
Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
HTTP/1.1 200 OK
2-
Server: nginx
3-
Date: Tue, 08 Aug 2023 04:19:52 GMT
4-
Content-Type: application/json; charset=utf-8
5-
Connection: keep-alive
6-
X-RateLimit-Limit: 2400
7-
X-RateLimit-Remaining: 2398
8-
X-RateLimit-Reset: 1691471962
9-
X-WORK-WITH-US: Love automation? So do we! https://dnsimple.com/jobs
10-
ETag: W/"5f30a37d01b99bb9e620ef1bbce9a014"
11-
Cache-Control: max-age=0, private, must-revalidate
12-
X-Request-Id: d2f7bba4-4c81-4818-81d2-c9bbe95f104e
13-
X-Runtime: 0.133278
14-
Strict-Transport-Security: max-age=63072000
15-
16-
{"data":{"id":1,"account_id":1010,"name":"example.com","reverse":false,"secondary":false,"last_transferred_at":null,"active":false,"created_at":"2015-04-23T07:40:03Z","updated_at":"2015-04-23T07:40:03Z"}}
1+
HTTP/1.1 200 OK
2+
Server: nginx
3+
Date: Tue, 08 Aug 2023 04:19:52 GMT
4+
Content-Type: application/json; charset=utf-8
5+
Connection: keep-alive
6+
X-RateLimit-Limit: 2400
7+
X-RateLimit-Remaining: 2398
8+
X-RateLimit-Reset: 1691471962
9+
X-WORK-WITH-US: Love automation? So do we! https://dnsimple.com/jobs
10+
ETag: W/"5f30a37d01b99bb9e620ef1bbce9a014"
11+
Cache-Control: max-age=0, private, must-revalidate
12+
X-Request-Id: d2f7bba4-4c81-4818-81d2-c9bbe95f104e
13+
X-Runtime: 0.133278
14+
Strict-Transport-Security: max-age=63072000
15+
16+
{"data":{"id":1,"account_id":1010,"name":"example.com","reverse":false,"secondary":false,"last_transferred_at":null,"active":false,"created_at":"2022-09-28T04:45:24Z","updated_at":"2023-08-08T04:19:52Z"}}

0 commit comments

Comments
 (0)