From 044fc07c0ac6f68bd0d11b9329da953f5bd846d9 Mon Sep 17 00:00:00 2001 From: Janusz Jakubiec Date: Tue, 29 Mar 2022 15:53:32 +0200 Subject: [PATCH] Changing config_parser_SUITE after changing host in defaults --- test/config_parser_SUITE.erl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/config_parser_SUITE.erl b/test/config_parser_SUITE.erl index 2a61cd5742..e982851c8f 100644 --- a/test/config_parser_SUITE.erl +++ b/test/config_parser_SUITE.erl @@ -2030,7 +2030,9 @@ mod_http_upload(_Config) -> RequiredOpts = #{<<"s3">> => http_upload_s3_required_opts()}, S3Cfg = http_upload_s3_expected_cfg(), ?cfgh(P, mod_config(mod_http_upload, - #{s3 => config_parser_helper:config([modules, mod_http_upload, s3], S3Cfg)}), + #{host => <<"upload.@HOST@">>, + s3 => config_parser_helper:config([modules, mod_http_upload, s3], S3Cfg) + }), T(RequiredOpts)), ?cfgh(P ++ [s3], S3Cfg#{add_acl => false}, T(RequiredOpts)), ?cfgh(P ++ [host], {prefix, <<"upload.">>},