Skip to content

Commit

Permalink
Changing config_parser_SUITE after changing host in defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
Janusz Jakubiec authored and Janusz Jakubiec committed Mar 29, 2022
1 parent ca30619 commit 044fc07
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/config_parser_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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.">>},
Expand Down

0 comments on commit 044fc07

Please sign in to comment.