@@ -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
109110test_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