@@ -37,8 +37,6 @@ all() ->
37
37
test_post_process_payload_rich_auth_request_using_regular_expression_with_cluster ,
38
38
test_unsuccessful_access_with_a_token_that_uses_missing_scope_alias_in_scope_field ,
39
39
test_unsuccessful_access_with_a_token_that_uses_missing_scope_alias_in_extra_scope_source_field ,
40
- test_default_ssl_options ,
41
- test_default_ssl_options_with_cacertfile ,
42
40
test_username_from ,
43
41
{group , with_rabbitmq_node }
44
42
].
@@ -125,10 +123,6 @@ init_per_testcase(test_post_process_payload_rich_auth_request_using_regular_expr
125
123
application :set_env (rabbitmq_auth_backend_oauth2 , resource_server_id , <<" rabbitmq-test" >>),
126
124
Config ;
127
125
128
- init_per_testcase (test_default_ssl_options_with_cacertfile , Config ) ->
129
- application :set_env (rabbitmq_auth_backend_oauth2 , key_config , [{ cacertfile , filename :join ([" testca" , " cacert.pem" ]) }] ),
130
- Config ;
131
-
132
126
init_per_testcase (_ , Config ) ->
133
127
Config .
134
128
@@ -137,10 +131,6 @@ end_per_testcase(test_post_process_token_payload_complex_claims, Config) ->
137
131
application :set_env (rabbitmq_auth_backend_oauth2 , resource_server_id , undefined ),
138
132
Config ;
139
133
140
- end_per_testcase (test_default_ssl_options_with_cacertfile , Config ) ->
141
- application :set_env (rabbitmq_auth_backend_oauth2 , key_config , undefined ),
142
- Config ;
143
-
144
134
end_per_testcase (_ , Config ) ->
145
135
Config .
146
136
@@ -1331,25 +1321,6 @@ test_validate_payload_when_verify_aud_false(_) ->
1331
1321
<<" scope" >> => [<<" bar" >>, <<" other.third" >>]}},
1332
1322
rabbit_auth_backend_oauth2 :validate_payload (? RESOURCE_SERVER_ID , WithAudWithUnknownResourceId , ? DEFAULT_SCOPE_PREFIX )).
1333
1323
1334
- test_default_ssl_options (_ ) ->
1335
- ? assertEqual ([
1336
- {verify , verify_none },
1337
- {depth , 10 },
1338
- {fail_if_no_peer_cert , false },
1339
- {crl_check , false },
1340
- {crl_cache , {ssl_crl_cache , {internal , [{http , 10000 }]}}}
1341
- ], uaa_jwks :ssl_options (rabbit_oauth2_config :get_key_config ())).
1342
-
1343
- test_default_ssl_options_with_cacertfile (_ ) ->
1344
- ? assertEqual ([
1345
- {verify , verify_none },
1346
- {depth , 10 },
1347
- {fail_if_no_peer_cert , false },
1348
- {crl_check , false },
1349
- {crl_cache , {ssl_crl_cache , {internal , [{http , 10000 }]}}},
1350
- {cacertfile , filename :join ([" testca" , " cacert.pem" ])}
1351
- ], uaa_jwks :ssl_options (rabbit_oauth2_config :get_key_config ())).
1352
-
1353
1324
% %
1354
1325
% % Helpers
1355
1326
% %
0 commit comments