Skip to content

Commit ad1f785

Browse files
committed
Fix: fix domain test
1 parent d8fd178 commit ad1f785

12 files changed

+2993
-2993
lines changed

internal/services/domain/testdata/data-source-domain-record-basic.cassette.yaml

+920-969
Large diffs are not rendered by default.

internal/services/domain/testdata/data-source-domain-zone-basic.cassette.yaml

+79-79
Large diffs are not rendered by default.

internal/services/domain/testdata/domain-record-arobase.cassette.yaml

+122-122
Large diffs are not rendered by default.

internal/services/domain/testdata/domain-record-basic.cassette.yaml

+501-452
Large diffs are not rendered by default.

internal/services/domain/testdata/domain-record-basic2.cassette.yaml

+359-359
Large diffs are not rendered by default.

internal/services/domain/testdata/domain-record-cname.cassette.yaml

+226-226
Large diffs are not rendered by default.

internal/services/domain/testdata/domain-record-geo-ip.cassette.yaml

+159-159
Large diffs are not rendered by default.

internal/services/domain/testdata/domain-record-http-service.cassette.yaml

+159-159
Large diffs are not rendered by default.

internal/services/domain/testdata/domain-record-srv-zone.cassette.yaml

+99-99
Large diffs are not rendered by default.

internal/services/domain/testdata/domain-record-view.cassette.yaml

+159-159
Large diffs are not rendered by default.

internal/services/domain/testdata/domain-record-weighted.cassette.yaml

+159-159
Large diffs are not rendered by default.

internal/services/domain/testdata/domain-zone-basic.cassette.yaml

+51-51
Original file line numberDiff line numberDiff line change
@@ -25,31 +25,31 @@ interactions:
2525
proto_minor: 0
2626
transfer_encoding: []
2727
trailer: {}
28-
content_length: 32
28+
content_length: 33
2929
uncompressed: false
3030
body: '{"dns_zones":[],"total_count":0}'
3131
headers:
3232
Content-Length:
33-
- "32"
33+
- "33"
3434
Content-Security-Policy:
3535
- default-src 'none'; frame-ancestors 'none'
3636
Content-Type:
3737
- application/json
3838
Date:
39-
- Mon, 24 Jun 2024 14:52:36 GMT
39+
- Tue, 25 Jun 2024 13:27:00 GMT
4040
Server:
41-
- Scaleway API Gateway (fr-par-1;edge01)
41+
- Scaleway API Gateway (fr-par-2;edge02)
4242
Strict-Transport-Security:
4343
- max-age=63072000
4444
X-Content-Type-Options:
4545
- nosniff
4646
X-Frame-Options:
4747
- DENY
4848
X-Request-Id:
49-
- c8daf3da-87d6-489d-83af-a3f33a4aea96
49+
- e040b722-f578-4a38-a555-bd81a510a0f8
5050
status: 200 OK
5151
code: 200
52-
duration: 80.844861ms
52+
duration: 117.726479ms
5353
- id: 1
5454
request:
5555
proto: HTTP/1.1
@@ -76,31 +76,31 @@ interactions:
7676
proto_minor: 0
7777
transfer_encoding: []
7878
trailer: {}
79-
content_length: 318
79+
content_length: 329
8080
uncompressed: false
81-
body: '{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"active","subdomain":"test-zone","updated_at":"2024-06-24T14:52:36Z"}'
81+
body: '{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"active","subdomain":"test-zone","updated_at":"2024-06-25T13:27:00Z"}'
8282
headers:
8383
Content-Length:
84-
- "318"
84+
- "329"
8585
Content-Security-Policy:
8686
- default-src 'none'; frame-ancestors 'none'
8787
Content-Type:
8888
- application/json
8989
Date:
90-
- Mon, 24 Jun 2024 14:52:36 GMT
90+
- Tue, 25 Jun 2024 13:27:00 GMT
9191
Server:
92-
- Scaleway API Gateway (fr-par-1;edge01)
92+
- Scaleway API Gateway (fr-par-2;edge02)
9393
Strict-Transport-Security:
9494
- max-age=63072000
9595
X-Content-Type-Options:
9696
- nosniff
9797
X-Frame-Options:
9898
- DENY
9999
X-Request-Id:
100-
- f5182553-fe3d-4dc9-9d6a-761b082e7c06
100+
- 90c74e53-d5de-4c26-8598-9c737eb81621
101101
status: 200 OK
102102
code: 200
103-
duration: 441.295673ms
103+
duration: 576.413263ms
104104
- id: 2
105105
request:
106106
proto: HTTP/1.1
@@ -125,31 +125,31 @@ interactions:
125125
proto_minor: 0
126126
transfer_encoding: []
127127
trailer: {}
128-
content_length: 350
128+
content_length: 362
129129
uncompressed: false
130-
body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"active","subdomain":"test-zone","updated_at":"2024-06-24T14:52:36Z"}],"total_count":1}'
130+
body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"active","subdomain":"test-zone","updated_at":"2024-06-25T13:27:00Z"}],"total_count":1}'
131131
headers:
132132
Content-Length:
133-
- "350"
133+
- "362"
134134
Content-Security-Policy:
135135
- default-src 'none'; frame-ancestors 'none'
136136
Content-Type:
137137
- application/json
138138
Date:
139-
- Mon, 24 Jun 2024 14:52:36 GMT
139+
- Tue, 25 Jun 2024 13:27:01 GMT
140140
Server:
141-
- Scaleway API Gateway (fr-par-1;edge01)
141+
- Scaleway API Gateway (fr-par-2;edge02)
142142
Strict-Transport-Security:
143143
- max-age=63072000
144144
X-Content-Type-Options:
145145
- nosniff
146146
X-Frame-Options:
147147
- DENY
148148
X-Request-Id:
149-
- db58584b-dd17-488c-a47e-03b57433f108
149+
- 23498acf-1c61-4798-b0b8-ac4e8cebf79f
150150
status: 200 OK
151151
code: 200
152-
duration: 64.62641ms
152+
duration: 68.054256ms
153153
- id: 3
154154
request:
155155
proto: HTTP/1.1
@@ -174,31 +174,31 @@ interactions:
174174
proto_minor: 0
175175
transfer_encoding: []
176176
trailer: {}
177-
content_length: 350
177+
content_length: 362
178178
uncompressed: false
179-
body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"active","subdomain":"test-zone","updated_at":"2024-06-24T14:52:36Z"}],"total_count":1}'
179+
body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"active","subdomain":"test-zone","updated_at":"2024-06-25T13:27:00Z"}],"total_count":1}'
180180
headers:
181181
Content-Length:
182-
- "350"
182+
- "362"
183183
Content-Security-Policy:
184184
- default-src 'none'; frame-ancestors 'none'
185185
Content-Type:
186186
- application/json
187187
Date:
188-
- Mon, 24 Jun 2024 14:52:36 GMT
188+
- Tue, 25 Jun 2024 13:27:01 GMT
189189
Server:
190-
- Scaleway API Gateway (fr-par-1;edge01)
190+
- Scaleway API Gateway (fr-par-2;edge02)
191191
Strict-Transport-Security:
192192
- max-age=63072000
193193
X-Content-Type-Options:
194194
- nosniff
195195
X-Frame-Options:
196196
- DENY
197197
X-Request-Id:
198-
- 7a6dc73d-53a2-40ca-be1e-c9d055964562
198+
- 1815e13c-c5b5-43b3-aa18-ed41ecbfcd75
199199
status: 200 OK
200200
code: 200
201-
duration: 68.02922ms
201+
duration: 68.094201ms
202202
- id: 4
203203
request:
204204
proto: HTTP/1.1
@@ -223,31 +223,31 @@ interactions:
223223
proto_minor: 0
224224
transfer_encoding: []
225225
trailer: {}
226-
content_length: 350
226+
content_length: 362
227227
uncompressed: false
228-
body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"active","subdomain":"test-zone","updated_at":"2024-06-24T14:52:36Z"}],"total_count":1}'
228+
body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"active","subdomain":"test-zone","updated_at":"2024-06-25T13:27:00Z"}],"total_count":1}'
229229
headers:
230230
Content-Length:
231-
- "350"
231+
- "362"
232232
Content-Security-Policy:
233233
- default-src 'none'; frame-ancestors 'none'
234234
Content-Type:
235235
- application/json
236236
Date:
237-
- Mon, 24 Jun 2024 14:52:37 GMT
237+
- Tue, 25 Jun 2024 13:27:02 GMT
238238
Server:
239-
- Scaleway API Gateway (fr-par-1;edge01)
239+
- Scaleway API Gateway (fr-par-2;edge02)
240240
Strict-Transport-Security:
241241
- max-age=63072000
242242
X-Content-Type-Options:
243243
- nosniff
244244
X-Frame-Options:
245245
- DENY
246246
X-Request-Id:
247-
- df4e164e-0040-4374-bc6b-8b94a695b750
247+
- cacc115d-0c96-4722-ae8f-77847b51f343
248248
status: 200 OK
249249
code: 200
250-
duration: 80.086449ms
250+
duration: 80.860775ms
251251
- id: 5
252252
request:
253253
proto: HTTP/1.1
@@ -272,31 +272,31 @@ interactions:
272272
proto_minor: 0
273273
transfer_encoding: []
274274
trailer: {}
275-
content_length: 350
275+
content_length: 362
276276
uncompressed: false
277-
body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"active","subdomain":"test-zone","updated_at":"2024-06-24T14:52:36Z"}],"total_count":1}'
277+
body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"active","subdomain":"test-zone","updated_at":"2024-06-25T13:27:00Z"}],"total_count":1}'
278278
headers:
279279
Content-Length:
280-
- "350"
280+
- "362"
281281
Content-Security-Policy:
282282
- default-src 'none'; frame-ancestors 'none'
283283
Content-Type:
284284
- application/json
285285
Date:
286-
- Mon, 24 Jun 2024 14:52:38 GMT
286+
- Tue, 25 Jun 2024 13:27:03 GMT
287287
Server:
288-
- Scaleway API Gateway (fr-par-1;edge01)
288+
- Scaleway API Gateway (fr-par-2;edge02)
289289
Strict-Transport-Security:
290290
- max-age=63072000
291291
X-Content-Type-Options:
292292
- nosniff
293293
X-Frame-Options:
294294
- DENY
295295
X-Request-Id:
296-
- 149acb06-cdee-48cf-8c1e-63d1ed3720bd
296+
- 249e8be1-2069-4cea-b803-68ab997debd6
297297
status: 200 OK
298298
code: 200
299-
duration: 60.128474ms
299+
duration: 77.278939ms
300300
- id: 6
301301
request:
302302
proto: HTTP/1.1
@@ -332,20 +332,20 @@ interactions:
332332
Content-Type:
333333
- application/json
334334
Date:
335-
- Mon, 24 Jun 2024 14:52:38 GMT
335+
- Tue, 25 Jun 2024 13:27:03 GMT
336336
Server:
337-
- Scaleway API Gateway (fr-par-1;edge01)
337+
- Scaleway API Gateway (fr-par-2;edge02)
338338
Strict-Transport-Security:
339339
- max-age=63072000
340340
X-Content-Type-Options:
341341
- nosniff
342342
X-Frame-Options:
343343
- DENY
344344
X-Request-Id:
345-
- 37c70245-2446-4164-bf06-568e903427c6
345+
- 3940e2fb-2235-48f1-a0b6-8b7b1c7ca7d7
346346
status: 200 OK
347347
code: 200
348-
duration: 204.884179ms
348+
duration: 185.747027ms
349349
- id: 7
350350
request:
351351
proto: HTTP/1.1
@@ -370,28 +370,28 @@ interactions:
370370
proto_minor: 0
371371
transfer_encoding: []
372372
trailer: {}
373-
content_length: 32
373+
content_length: 33
374374
uncompressed: false
375375
body: '{"dns_zones":[],"total_count":0}'
376376
headers:
377377
Content-Length:
378-
- "32"
378+
- "33"
379379
Content-Security-Policy:
380380
- default-src 'none'; frame-ancestors 'none'
381381
Content-Type:
382382
- application/json
383383
Date:
384-
- Mon, 24 Jun 2024 14:52:38 GMT
384+
- Tue, 25 Jun 2024 13:27:03 GMT
385385
Server:
386-
- Scaleway API Gateway (fr-par-1;edge01)
386+
- Scaleway API Gateway (fr-par-2;edge02)
387387
Strict-Transport-Security:
388388
- max-age=63072000
389389
X-Content-Type-Options:
390390
- nosniff
391391
X-Frame-Options:
392392
- DENY
393393
X-Request-Id:
394-
- c62217ff-2b2b-4689-8084-4080a3547dc1
394+
- 445c78ea-5523-4dae-aef1-dccd69670518
395395
status: 200 OK
396396
code: 200
397-
duration: 69.426141ms
397+
duration: 75.17808ms

0 commit comments

Comments
 (0)