@@ -103,8 +103,9 @@ test_with_one_oauth_provider(_) ->
103
103
{[" auth_oauth2" ," oauth_providers" ," keycloak" ," issuer" ],
104
104
" https://rabbit" }
105
105
],
106
- #{<<" keycloak" >> := [{issuer , <<" https://rabbit" >>}]
107
- } = rabbit_oauth2_schema :translate_oauth_providers (Conf ).
106
+ #{<<" keycloak" >> := [
107
+ {issuer , " https://rabbit" }]
108
+ } = translate_oauth_providers (Conf ).
108
109
109
110
test_with_one_resource_server (_ ) ->
110
111
Conf = [
@@ -122,7 +123,7 @@ test_with_many_oauth_providers(_) ->
122
123
{[" auth_oauth2" ," oauth_providers" ," uaa" ," discovery_endpoint_path" ],
123
124
" /some-path" }
124
125
],
125
- #{<<" keycloak" >> := [{issuer , << " https://keycloak" >> }
126
+ #{<<" keycloak" >> := [{issuer , " https://keycloak" }
126
127
],
127
128
<<" uaa" >> := [{issuer , " https://uaa" },
128
129
{discovery_endpoint_path , " /some-path" }
@@ -274,7 +275,7 @@ test_oauth_providers_signing_keys(Conf) ->
274
275
{[" auth_oauth2" ," oauth_providers" ," keycloak" ," signing_keys" ," 1" ],
275
276
cert_filename (Conf )}
276
277
],
277
- #{<<" keycloak" >> := [{issuer , << " https://keycloak" >> },
278
+ #{<<" keycloak" >> := [{issuer , " https://keycloak" },
278
279
{signing_keys , SigningKeys }
279
280
]
280
281
} = sort_settings (translate_oauth_providers (CuttlefishConf )),
0 commit comments