test(gw): remove enable option from server ssl conf

This commit is contained in:
JianBo He 2022-05-12 20:27:25 +08:00
parent 1867b86bad
commit 3f84600401
1 changed files with 2 additions and 4 deletions

View File

@ -211,9 +211,7 @@ t_gateway_exproto_with_ssl(_) ->
name => <<"exproto">>,
server => #{
bind => <<"9100">>,
ssl => SslSvrOpts#{
enable => true
}
ssl => SslSvrOpts
},
handler => #{
address => <<"http://127.0.0.1:9001">>,
@ -230,7 +228,7 @@ t_gateway_exproto_with_ssl(_) ->
GwConf2 = emqx_map_lib:deep_merge(GwConf, #{
server => #{
bind => <<"9200">>,
ssl => SslCliOpts#{enable => true}
ssl => SslCliOpts
}
}),
{200, _} = request(put, "/gateway/exproto", maps:without([name, listeners], GwConf2)),