test(gw): remove enable option from server ssl conf
This commit is contained in:
parent
1867b86bad
commit
3f84600401
|
@ -211,9 +211,7 @@ t_gateway_exproto_with_ssl(_) ->
|
||||||
name => <<"exproto">>,
|
name => <<"exproto">>,
|
||||||
server => #{
|
server => #{
|
||||||
bind => <<"9100">>,
|
bind => <<"9100">>,
|
||||||
ssl => SslSvrOpts#{
|
ssl => SslSvrOpts
|
||||||
enable => true
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
handler => #{
|
handler => #{
|
||||||
address => <<"http://127.0.0.1:9001">>,
|
address => <<"http://127.0.0.1:9001">>,
|
||||||
|
@ -230,7 +228,7 @@ t_gateway_exproto_with_ssl(_) ->
|
||||||
GwConf2 = emqx_map_lib:deep_merge(GwConf, #{
|
GwConf2 = emqx_map_lib:deep_merge(GwConf, #{
|
||||||
server => #{
|
server => #{
|
||||||
bind => <<"9200">>,
|
bind => <<"9200">>,
|
||||||
ssl => SslCliOpts#{enable => true}
|
ssl => SslCliOpts
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
{200, _} = request(put, "/gateway/exproto", maps:without([name, listeners], GwConf2)),
|
{200, _} = request(put, "/gateway/exproto", maps:without([name, listeners], GwConf2)),
|
||||||
|
|
Loading…
Reference in New Issue