Skip to content

Commit

Permalink
test: update cassettes of all tests using dns (#1332)
Browse files Browse the repository at this point in the history
  • Loading branch information
Codelax committed Jun 15, 2022
1 parent d8f9186 commit 171aeb9
Show file tree
Hide file tree
Showing 11 changed files with 2,585 additions and 1,859 deletions.
1,264 changes: 665 additions & 599 deletions scaleway/testdata/data-source-domain-record-basic.cassette.yaml

Large diffs are not rendered by default.

82 changes: 41 additions & 41 deletions scaleway/testdata/data-source-domain-zone-basic.cassette.yaml

Large diffs are not rendered by default.

643 changes: 404 additions & 239 deletions scaleway/testdata/domain-record-basic.cassette.yaml

Large diffs are not rendered by default.

761 changes: 529 additions & 232 deletions scaleway/testdata/domain-record-basic2.cassette.yaml

Large diffs are not rendered by default.

203 changes: 118 additions & 85 deletions scaleway/testdata/domain-record-geo-ip.cassette.yaml

Large diffs are not rendered by default.

203 changes: 118 additions & 85 deletions scaleway/testdata/domain-record-http-service.cassette.yaml

Large diffs are not rendered by default.

203 changes: 118 additions & 85 deletions scaleway/testdata/domain-record-view.cassette.yaml

Large diffs are not rendered by default.

203 changes: 118 additions & 85 deletions scaleway/testdata/domain-record-weighted.cassette.yaml

Large diffs are not rendered by default.

50 changes: 25 additions & 25 deletions scaleway/testdata/domain-zone-basic.cassette.yaml
Expand Up @@ -6,7 +6,7 @@ interactions:
form: {}
headers:
User-Agent:
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18; darwin; amd64) terraform-provider/develop
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.2; linux; amd64) terraform-provider/develop
terraform/terraform-tests
url: https://api.scaleway.com/domain/v2beta1/dns-zones?dns_zone=test-zone.scaleway-terraform.com&domain=&order_by=domain_asc
method: GET
Expand All @@ -20,7 +20,7 @@ interactions:
Content-Type:
- application/json
Date:
- Tue, 19 Apr 2022 14:45:11 GMT
- Wed, 15 Jun 2022 14:16:43 GMT
Server:
- Scaleway API-Gateway
Strict-Transport-Security:
Expand All @@ -30,7 +30,7 @@ interactions:
X-Frame-Options:
- DENY
X-Request-Id:
- e450f6b2-67aa-4bd9-b68f-1750e7810288
- 5266af8b-8bde-4ae3-b6d6-530aa7aac091
status: 200 OK
code: 200
duration: ""
Expand All @@ -41,12 +41,12 @@ interactions:
Content-Type:
- application/json
User-Agent:
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18; darwin; amd64) terraform-provider/develop
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.2; linux; amd64) terraform-provider/develop
terraform/terraform-tests
url: https://api.scaleway.com/domain/v2beta1/dns-zones
method: POST
response:
body: '{"domain":"scaleway-terraform.com","subdomain":"test-zone","ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"status":"active","message":null,"updated_at":"2022-04-19T14:45:12Z","project_id":"105bdce1-64c0-48ab-899d-868455867ecf"}'
body: '{"domain":"scaleway-terraform.com","subdomain":"test-zone","ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"status":"active","message":null,"updated_at":"2022-06-15T14:16:44Z","project_id":"105bdce1-64c0-48ab-899d-868455867ecf"}'
headers:
Content-Length:
- "297"
Expand All @@ -55,7 +55,7 @@ interactions:
Content-Type:
- application/json
Date:
- Tue, 19 Apr 2022 14:45:12 GMT
- Wed, 15 Jun 2022 14:16:44 GMT
Server:
- Scaleway API-Gateway
Strict-Transport-Security:
Expand All @@ -65,7 +65,7 @@ interactions:
X-Frame-Options:
- DENY
X-Request-Id:
- 00a5fee8-bf58-4a77-8940-6c94233da7dd
- c9efa3f6-a173-4cf2-8b46-7982ba4ec121
status: 200 OK
code: 200
duration: ""
Expand All @@ -74,12 +74,12 @@ interactions:
form: {}
headers:
User-Agent:
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18; darwin; amd64) terraform-provider/develop
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.2; linux; amd64) terraform-provider/develop
terraform/terraform-tests
url: https://api.scaleway.com/domain/v2beta1/dns-zones?dns_zone=test-zone.scaleway-terraform.com&domain=&order_by=domain_asc
method: GET
response:
body: '{"total_count":1,"dns_zones":[{"domain":"scaleway-terraform.com","subdomain":"test-zone","ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"status":"active","message":null,"updated_at":"2022-04-19T14:45:12Z","project_id":"105bdce1-64c0-48ab-899d-868455867ecf"}]}'
body: '{"total_count":1,"dns_zones":[{"domain":"scaleway-terraform.com","subdomain":"test-zone","ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"status":"active","message":null,"updated_at":"2022-06-15T14:16:44Z","project_id":"105bdce1-64c0-48ab-899d-868455867ecf"}]}'
headers:
Content-Length:
- "329"
Expand All @@ -88,7 +88,7 @@ interactions:
Content-Type:
- application/json
Date:
- Tue, 19 Apr 2022 14:45:12 GMT
- Wed, 15 Jun 2022 14:16:44 GMT
Server:
- Scaleway API-Gateway
Strict-Transport-Security:
Expand All @@ -98,7 +98,7 @@ interactions:
X-Frame-Options:
- DENY
X-Request-Id:
- b0af2f01-ee52-4944-b59a-b29b5a1f4b92
- ec4614c4-9290-4ffe-bd9d-8bdaa2124324
status: 200 OK
code: 200
duration: ""
Expand All @@ -107,12 +107,12 @@ interactions:
form: {}
headers:
User-Agent:
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18; darwin; amd64) terraform-provider/develop
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.2; linux; amd64) terraform-provider/develop
terraform/terraform-tests
url: https://api.scaleway.com/domain/v2beta1/dns-zones?dns_zone=test-zone.scaleway-terraform.com&domain=&order_by=domain_asc
method: GET
response:
body: '{"total_count":1,"dns_zones":[{"domain":"scaleway-terraform.com","subdomain":"test-zone","ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"status":"active","message":null,"updated_at":"2022-04-19T14:45:12Z","project_id":"105bdce1-64c0-48ab-899d-868455867ecf"}]}'
body: '{"total_count":1,"dns_zones":[{"domain":"scaleway-terraform.com","subdomain":"test-zone","ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"status":"active","message":null,"updated_at":"2022-06-15T14:16:44Z","project_id":"105bdce1-64c0-48ab-899d-868455867ecf"}]}'
headers:
Content-Length:
- "329"
Expand All @@ -121,7 +121,7 @@ interactions:
Content-Type:
- application/json
Date:
- Tue, 19 Apr 2022 14:45:12 GMT
- Wed, 15 Jun 2022 14:16:45 GMT
Server:
- Scaleway API-Gateway
Strict-Transport-Security:
Expand All @@ -131,7 +131,7 @@ interactions:
X-Frame-Options:
- DENY
X-Request-Id:
- 7b8051f0-eb86-40d9-9d69-bd8033698ff4
- d3a033f3-e90a-41bb-95f4-aa4688787305
status: 200 OK
code: 200
duration: ""
Expand All @@ -140,12 +140,12 @@ interactions:
form: {}
headers:
User-Agent:
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18; darwin; amd64) terraform-provider/develop
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.2; linux; amd64) terraform-provider/develop
terraform/terraform-tests
url: https://api.scaleway.com/domain/v2beta1/dns-zones?dns_zone=test-zone.scaleway-terraform.com&domain=&order_by=domain_asc&project_id=105bdce1-64c0-48ab-899d-868455867ecf
method: GET
response:
body: '{"total_count":1,"dns_zones":[{"domain":"scaleway-terraform.com","subdomain":"test-zone","ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"status":"active","message":null,"updated_at":"2022-04-19T14:45:12Z","project_id":"105bdce1-64c0-48ab-899d-868455867ecf"}]}'
body: '{"total_count":1,"dns_zones":[{"domain":"scaleway-terraform.com","subdomain":"test-zone","ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"status":"active","message":null,"updated_at":"2022-06-15T14:16:44Z","project_id":"105bdce1-64c0-48ab-899d-868455867ecf"}]}'
headers:
Content-Length:
- "329"
Expand All @@ -154,7 +154,7 @@ interactions:
Content-Type:
- application/json
Date:
- Tue, 19 Apr 2022 14:45:13 GMT
- Wed, 15 Jun 2022 14:16:45 GMT
Server:
- Scaleway API-Gateway
Strict-Transport-Security:
Expand All @@ -164,7 +164,7 @@ interactions:
X-Frame-Options:
- DENY
X-Request-Id:
- 220e76ba-086f-48a1-a4a4-e413a590457d
- 3f61ba79-5d7c-4810-9fa9-a16ada29d04a
status: 200 OK
code: 200
duration: ""
Expand All @@ -173,7 +173,7 @@ interactions:
form: {}
headers:
User-Agent:
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18; darwin; amd64) terraform-provider/develop
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.2; linux; amd64) terraform-provider/develop
terraform/terraform-tests
url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-zone.scaleway-terraform.com?project_id=105bdce1-64c0-48ab-899d-868455867ecf
method: DELETE
Expand All @@ -187,7 +187,7 @@ interactions:
Content-Type:
- application/json
Date:
- Tue, 19 Apr 2022 14:45:13 GMT
- Wed, 15 Jun 2022 14:16:46 GMT
Server:
- Scaleway API-Gateway
Strict-Transport-Security:
Expand All @@ -197,7 +197,7 @@ interactions:
X-Frame-Options:
- DENY
X-Request-Id:
- 201efe02-cdac-410b-9b2d-c3bf05eb0d3c
- b7456347-7c26-4f7b-a565-5b596d259ee2
status: 200 OK
code: 200
duration: ""
Expand All @@ -206,7 +206,7 @@ interactions:
form: {}
headers:
User-Agent:
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18; darwin; amd64) terraform-provider/develop
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.18.2; linux; amd64) terraform-provider/develop
terraform/terraform-tests
url: https://api.scaleway.com/domain/v2beta1/dns-zones?dns_zone=test-zone.scaleway-terraform.com&domain=&order_by=domain_asc
method: GET
Expand All @@ -220,7 +220,7 @@ interactions:
Content-Type:
- application/json
Date:
- Tue, 19 Apr 2022 14:45:13 GMT
- Wed, 15 Jun 2022 14:16:46 GMT
Server:
- Scaleway API-Gateway
Strict-Transport-Security:
Expand All @@ -230,7 +230,7 @@ interactions:
X-Frame-Options:
- DENY
X-Request-Id:
- ef560573-b863-4fca-a1b9-bd047f982f58
- 3448a633-af03-4bd6-92e7-037f4d754d4b
status: 200 OK
code: 200
duration: ""

0 comments on commit 171aeb9

Please sign in to comment.