Skip to content

Commit 5eaf0d3

Browse files
Fix test case
1 parent 66ad50a commit 5eaf0d3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

deps/oauth2_client/src/oauth2_client.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ drop_trailing_path_separator(Path) when is_list(Path) ->
100100
ssl:tls_option() | [], proxy_options() | undefined) ->
101101
{ok, openid_configuration()} | {error, term()}.
102102
get_openid_configuration(DiscoverEndpoint, TLSOptions, ProxyOptions) ->
103-
rabbit_log:debug("get_openid_configuration from ~p (~p)", [DiscoverEndpoint,
104-
format_ssl_options(TLSOptions)]),
103+
rabbit_log:debug("get_openid_configuration from ~p (~p) [~p]", [DiscoverEndpoint,
104+
format_ssl_options(TLSOptions), format_proxy_options(ProxyOptions)]),
105105
Options = get_proxy_if_any(ProxyOptions),
106106
Response = httpc:request(get, {DiscoverEndpoint, []},
107107
TLSOptions ++ get_proxy_auth_if_any(ProxyOptions), Options),

deps/oauth2_client/test/system_SUITE.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ get_openid_configuration_using_path(Config) ->
359359
{ok, Actual} = oauth2_client:get_openid_configuration(
360360
build_openid_discovery_endpoint(build_issuer("https", ?ISSUER_PATH)),
361361
SslOptions,
362-
ExpectedOAuthProvider#oauth_provider.ssl_options),
362+
ExpectedOAuthProvider#oauth_provider.proxy_options),
363363
ExpectedOpenId = map_oauth_provider_to_openid_configuration(ExpectedOAuthProvider),
364364
assertOpenIdConfiguration(ExpectedOpenId,Actual).
365365
get_openid_configuration_using_path_and_custom_endpoint(Config) ->

0 commit comments

Comments
 (0)