Skip to content

Commit 423b591

Browse files
MarcialRosalesmichaelklishin
authored andcommitted
Fix failing test cases
1 parent ebc3dea commit 423b591

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

deps/rabbitmq_auth_backend_oauth2/test/rabbit_oauth2_schema_SUITE.erl

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,9 @@ test_with_one_oauth_provider(_) ->
103103
{["auth_oauth2","oauth_providers","keycloak","issuer"],
104104
"https://rabbit"}
105105
],
106-
#{<<"keycloak">> := [{issuer, <<"https://rabbit">>}]
107-
} = rabbit_oauth2_schema:translate_oauth_providers(Conf).
106+
#{<<"keycloak">> := [
107+
{issuer, "https://rabbit"}]
108+
} = translate_oauth_providers(Conf).
108109

109110
test_with_one_resource_server(_) ->
110111
Conf = [
@@ -122,7 +123,7 @@ test_with_many_oauth_providers(_) ->
122123
{["auth_oauth2","oauth_providers","uaa","discovery_endpoint_path"],
123124
"/some-path"}
124125
],
125-
#{<<"keycloak">> := [{issuer, <<"https://keycloak">>}
126+
#{<<"keycloak">> := [{issuer, "https://keycloak"}
126127
],
127128
<<"uaa">> := [{issuer, "https://uaa"},
128129
{discovery_endpoint_path, "/some-path"}
@@ -274,7 +275,7 @@ test_oauth_providers_signing_keys(Conf) ->
274275
{["auth_oauth2","oauth_providers","keycloak","signing_keys","1"],
275276
cert_filename(Conf)}
276277
],
277-
#{<<"keycloak">> := [{issuer, <<"https://keycloak">>},
278+
#{<<"keycloak">> := [{issuer, "https://keycloak"},
278279
{signing_keys, SigningKeys}
279280
]
280281
} = sort_settings(translate_oauth_providers(CuttlefishConf)),

0 commit comments

Comments
 (0)