From 8af9512a9070d08e6df9613de19c1e15add8ae9f Mon Sep 17 00:00:00 2001 From: Andrew Mayorov Date: Wed, 10 Jan 2024 13:35:49 +0100 Subject: [PATCH] test(ft-conf): verify undefined password won't become `******` --- apps/emqx_ft/test/emqx_ft_api_SUITE.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(