@@ -93,7 +93,6 @@ init_per_group(https, Config) ->
9393 CaCertFile = filename :join ([CertsDir , " testca" , " cacert.pem" ]),
9494 WrongCaCertFile = filename :join ([CertsDir , " server" , " server.pem" ]),
9595 [{group , https },
96- {certsdir , CertsDir },
9796 {oauth_provider_id , <<" uaa" >>},
9897 {oauth_provider , build_https_oauth_provider (<<" uaa" >>, CaCertFile )},
9998 {oauth_provider_with_issuer , keep_only_issuer_and_ssl_options (
@@ -110,9 +109,8 @@ init_per_group(https_down, Config) ->
110109 CaCertFile = filename :join ([CertsDir , " testca" , " cacert.pem" ]),
111110
112111 [{issuer , build_issuer (" https" )},
113- {certsdir , CertsDir },
114112 {oauth_provider_id , <<" uaa" >>},
115- {oauth_provider , build_https_oauth_provider (<<" uaa" >>, CaCertFile )} | Config ];
113+ {oauth_provider , build_https_oauth_provider (<<" uaa" >>, CaCertFile )} | Config0 ];
116114
117115init_per_group (openid_configuration_with_path , Config ) ->
118116 [{use_openid_configuration_with_path , true } | Config ];
@@ -123,20 +121,18 @@ init_per_group(with_all_oauth_provider_settings, Config) ->
123121 CaCertFile = filename :join ([CertsDir , " testca" , " cacert.pem" ]),
124122
125123 [{with_all_oauth_provider_settings , true },
126- {certsdir , CertsDir },
127124 {oauth_provider_id , <<" uaa" >>},
128- {oauth_provider , build_https_oauth_provider (<<" uaa" >>, CaCertFile )} | Config ];
125+ {oauth_provider , build_https_oauth_provider (<<" uaa" >>, CaCertFile )} | Config0 ];
129126
130127init_per_group (without_all_oauth_providers_settings , Config ) ->
131128 Config0 = rabbit_ct_helpers :run_setup_steps (Config ),
132129 CertsDir = ? config (rmq_certsdir , Config0 ),
133130 CaCertFile = filename :join ([CertsDir , " testca" , " cacert.pem" ]),
134131
135132 [{with_all_oauth_provider_settings , false },
136- {certsdir , CertsDir },
137133 {oauth_provider_id , <<" uaa" >>},
138134 {oauth_provider , keep_only_issuer_and_ssl_options (
139- build_https_oauth_provider (<<" uaa" >>, CaCertFile ))} | Config ];
135+ build_https_oauth_provider (<<" uaa" >>, CaCertFile ))} | Config0 ];
140136
141137init_per_group (with_default_oauth_provider , Config ) ->
142138 OAuthProvider = ? config (oauth_provider , Config ),
@@ -248,12 +244,8 @@ init_per_testcase(TestCase, Config) ->
248244
249245 case ? config (group , Config ) of
250246 https ->
251- <<<<<<< HEAD
252247 ct :log (" Start https with expectations ~p " , [ListOfExpectations ]),
253248 start_https_oauth_server (? AUTH_PORT , ? config (rmq_certsdir , Config ),
254- =======
255- start_https_oauth_server (? AUTH_PORT , ? config (certsdir , Config ),
256- >>>>>>> 9 b1e762081 (Store the certsDir of the group which )
257249 ListOfExpectations );
258250 _ ->
259251 do_nothing
0 commit comments