diff --git a/apps/emqx_ft/test/emqx_ft_api_SUITE.erl b/apps/emqx_ft/test/emqx_ft_api_SUITE.erl index 7a2e1284f..98af0787a 100644 --- a/apps/emqx_ft/test/emqx_ft_api_SUITE.erl +++ b/apps/emqx_ft/test/emqx_ft_api_SUITE.erl @@ -428,7 +428,7 @@ test_configure(Uri, Config) -> <<"exporter">> := #{ <<"s3">> := #{ <<"transport_options">> := #{ - <<"ssl">> := #{ + <<"ssl">> := SSL = #{ <<"enable">> := true, <<"certfile">> := <<"/", _CertFilepath/bytes>>, <<"keyfile">> := <<"/", _KeyFilepath/bytes>> @@ -441,7 +441,7 @@ test_configure(Uri, Config) -> } } } - }, + } when not is_map_key(<<"password">>, SSL), GetConfigJson ), ?assertMatch(