Skip to content

Commit

Permalink
Update auth_azure_github_oidc_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
renaudhartert-db committed Jun 28, 2024
1 parent e04630d commit 8d9f467
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/auth_azure_github_oidc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func TestAzureGithubOIDCCredentials(t *testing.T) {
AzureTenantID: "test-tenant-id",
Host: "http://host.com/test",
HTTPTransport: fixtures.MappingTransport{
"GET /test?audience=api%3A%2F%2FAzureADTokenExchange": {
"GET /test": {
Status: http.StatusOK,
ExpectedHeaders: map[string]string{
"Authorization": "Bearer token-1337",
Expand Down Expand Up @@ -208,7 +208,7 @@ func TestAzureGithubOIDCCredentials(t *testing.T) {
AzureTenantID: "test-tenant-id",
Host: "http://host.com/test",
HTTPTransport: fixtures.MappingTransport{
"GET /test?audience=api%3A%2F%2FAzureADTokenExchange": {
"GET /test": {
Status: http.StatusOK,
ExpectedHeaders: map[string]string{
"Authorization": "Bearer token-1337",
Expand Down Expand Up @@ -253,7 +253,7 @@ func TestAzureGithubOIDCCredentials(t *testing.T) {
AzureTenantID: "test-tenant-id",
Host: "http://host.com/test",
HTTPTransport: fixtures.MappingTransport{
"GET /test?audience=api%3A%2F%2FAzureADTokenExchange": {
"GET /test": {
Status: http.StatusOK,
ExpectedHeaders: map[string]string{
"Authorization": "Bearer token-1337",
Expand Down

0 comments on commit 8d9f467

Please sign in to comment.