test(s3): fix httpc ssl opts

This commit is contained in:
Andrew Mayorov 2024-01-05 19:35:13 +01:00
parent 06117c3a33
commit 803529968e
No known key found for this signature in database
GPG Key ID: 2837C62ACFBFED5D
1 changed files with 2 additions and 1 deletions

View File

@ -152,7 +152,8 @@ t_extra_headers(Config0) ->
Url = emqx_s3_client:uri(Client, Key),
{ok, {{_StatusLine, 200, "OK"}, _Headers, Content}} = httpc:request(Url),
{ok, {{_StatusLine, 200, "OK"}, _Headers, Content}} =
httpc:request(get, {Url, []}, [{ssl, [{verify, verify_none}]}], []),
?_assertEqual(
Data,
emqx_utils_json:decode(Content)