Skip to content

Commit a414e02

Browse files
mehyaaraman-m
authored andcommitted
Tests fixed
1 parent dfa53a3 commit a414e02

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Diff for: test/Ocelot.AcceptanceTests/AuthorizationTests.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public void should_return_response_200_using_identity_server_with_allowed_scope(
177177
AuthenticationOptions = new FileAuthenticationOptions
178178
{
179179
AuthenticationProviderKey = "Test",
180-
AllowedScopes = new List<string>{ "api", "api.readOnly", "openid", "offline_access" },
180+
AllowedScopes = new List<string>{ "api", "api.readOnly" },
181181
},
182182
},
183183
},

Diff for: test/Ocelot.AcceptanceTests/ClaimsToDownstreamPathTests.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public void should_return_200_and_change_downstream_path()
6868
AuthenticationProviderKey = "Test",
6969
AllowedScopes = new List<string>
7070
{
71-
"openid", "offline_access", "api",
71+
"api",
7272
},
7373
},
7474
ChangeDownstreamPathTemplate =

Diff for: test/Ocelot.AcceptanceTests/ClaimsToHeadersForwardingTests.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public void should_return_response_200_and_foward_claim_as_header()
7676
AuthenticationProviderKey = "Test",
7777
AllowedScopes = new List<string>
7878
{
79-
"openid", "offline_access", "api",
79+
"api",
8080
},
8181
},
8282
AddHeadersToRequest =

Diff for: test/Ocelot.AcceptanceTests/ClaimsToQueryStringForwardingTests.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public void should_return_response_200_and_foward_claim_as_query_string()
7474
AuthenticationProviderKey = "Test",
7575
AllowedScopes = new List<string>
7676
{
77-
"openid", "offline_access", "api",
77+
"api",
7878
},
7979
},
8080
AddQueriesToRequest =
@@ -140,7 +140,7 @@ public void should_return_response_200_and_foward_claim_as_query_string_and_pres
140140
AuthenticationProviderKey = "Test",
141141
AllowedScopes = new List<string>
142142
{
143-
"openid", "offline_access", "api",
143+
"api",
144144
},
145145
},
146146
AddQueriesToRequest =

0 commit comments

Comments
 (0)