From 74ce2bc5ded84be792575670b62001569f8615c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89mile=20R=C3=A9?= Date: Wed, 20 May 2026 12:02:04 +0400 Subject: [PATCH] Fix VCR cassette URLs after url.JoinPath refactor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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é --- pkg/accessreview/drivers/testdata/asana.yaml | 2 +- pkg/accessreview/drivers/testdata/sentry.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/accessreview/drivers/testdata/asana.yaml b/pkg/accessreview/drivers/testdata/asana.yaml index ddeac72ec..e8631a392 100644 --- a/pkg/accessreview/drivers/testdata/asana.yaml +++ b/pkg/accessreview/drivers/testdata/asana.yaml @@ -16,7 +16,7 @@ interactions: headers: Accept: - 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 response: proto: HTTP/2.0 diff --git a/pkg/accessreview/drivers/testdata/sentry.yaml b/pkg/accessreview/drivers/testdata/sentry.yaml index 3e0e6e9eb..599b457b3 100644 --- a/pkg/accessreview/drivers/testdata/sentry.yaml +++ b/pkg/accessreview/drivers/testdata/sentry.yaml @@ -8,7 +8,7 @@ interactions: proto_minor: 1 content_length: 0 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 response: proto: HTTP/2.0