Skip to content

Commit 81f6d6a

Browse files
Fix typo and test case
1 parent fd22f65 commit 81f6d6a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

deps/oauth2_client/include/types.hrl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
authorization_endpoint :: option(uri_string:uri_string()),
1818
end_session_endpoint :: option(uri_string:uri_string()),
1919
jwks_uri :: option(uri_string:uri_string()),
20-
introspection_endpoint :: option(uri_string:uri_string()),
20+
introspection_endpoint :: option(uri_string:uri_string())
2121
}).
2222
-type openid_configuration() :: #openid_configuration{}.
2323

deps/oauth2_client/test/unit_SUITE.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,10 @@ merge_oauth_provider(_) ->
112112
OAuthProvider5 = OAuthProvider4#oauth_provider{introspection_endpoint = "https://introspection"},
113113
Proplist6 = oauth2_client:merge_oauth_provider(OAuthProvider5, Proplist5),
114114
?assertEqual([{jwks_uri, OAuthProvider5#oauth_provider.jwks_uri},
115+
{introspection_endpoint, OAuthProvider5#oauth_provider.introspection_endpoint},
115116
{end_session_endpoint, OAuthProvider5#oauth_provider.end_session_endpoint},
116117
{authorization_endpoint, OAuthProvider5#oauth_provider.authorization_endpoint},
117-
{token_endpoint, OAuthProvider5#oauth_provider.token_endpoint},
118-
{introspection_endpoint, OAuthProvider5#oauth_provider.introspection_endpoint}],
118+
{token_endpoint, OAuthProvider5#oauth_provider.token_endpoint}],
119119
Proplist6),
120120

121121
% ensure id, issuer, ssl_options and discovery_endpoint are not affected

0 commit comments

Comments
 (0)