Fix VCR cassette URLs after url.JoinPath refactor
The Sentry and Asana cassettes still had URLs from the old fmt.Sprintf construction. Update them to match the output of url.JoinPath / url.Values (no trailing slash, alphabetical query params, percent-encoded comma). Signed-off-by: Émile Ré <emile@probo.com>
This commit is contained in:
2
pkg/accessreview/drivers/testdata/asana.yaml
vendored
2
pkg/accessreview/drivers/testdata/asana.yaml
vendored
@@ -16,7 +16,7 @@ interactions:
|
|||||||
headers:
|
headers:
|
||||||
Accept:
|
Accept:
|
||||||
- application/json
|
- application/json
|
||||||
url: https://app.asana.com/api/1.0/workspaces/9999999/users?opt_fields=email,name&limit=100
|
url: https://app.asana.com/api/1.0/workspaces/9999999/users?limit=100&opt_fields=email%2Cname
|
||||||
method: GET
|
method: GET
|
||||||
response:
|
response:
|
||||||
proto: HTTP/2.0
|
proto: HTTP/2.0
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ interactions:
|
|||||||
proto_minor: 1
|
proto_minor: 1
|
||||||
content_length: 0
|
content_length: 0
|
||||||
host: sentry.io
|
host: sentry.io
|
||||||
url: https://sentry.io/api/0/organizations/acme-corp/members/
|
url: https://sentry.io/api/0/organizations/acme-corp/members
|
||||||
method: GET
|
method: GET
|
||||||
response:
|
response:
|
||||||
proto: HTTP/2.0
|
proto: HTTP/2.0
|
||||||
|
|||||||
Reference in New Issue
Block a user