test(ft-conf): verify undefined password won't become `******`

This commit is contained in:
Andrew Mayorov 2024-01-10 13:35:49 +01:00
parent ff2fb95e5d
commit 8af9512a90
No known key found for this signature in database
GPG Key ID: 2837C62ACFBFED5D
1 changed files with 2 additions and 2 deletions

View File

@ -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(