diff --git a/big_tests/tests/graphql_account_SUITE.erl b/big_tests/tests/graphql_account_SUITE.erl index bfa5a6aaa7..091e3d8091 100644 --- a/big_tests/tests/graphql_account_SUITE.erl +++ b/big_tests/tests/graphql_account_SUITE.erl @@ -55,8 +55,9 @@ end_per_suite(Config) -> escalus:end_per_suite(Config). init_per_group(admin_account_handler, Config) -> - dynamic_modules:ensure_modules(domain_helper:host_type(), [{mod_last, []}]), - dynamic_modules:ensure_modules(domain_helper:secondary_host_type(), [{mod_last, []}]), + Mods = [{mod_last, config_parser_helper:default_mod_config(mod_last)}], + dynamic_modules:ensure_modules(domain_helper:host_type(), Mods), + dynamic_modules:ensure_modules(domain_helper:secondary_host_type(), Mods), Config1 = escalus:create_users(Config, escalus:get_users([alice])), graphql_helper:init_admin_handler(Config1); init_per_group(user_account_handler, Config) -> diff --git a/big_tests/tests/graphql_stanza_SUITE.erl b/big_tests/tests/graphql_stanza_SUITE.erl index 7011715dbe..1faa991f56 100644 --- a/big_tests/tests/graphql_stanza_SUITE.erl +++ b/big_tests/tests/graphql_stanza_SUITE.erl @@ -89,7 +89,7 @@ init_mam(Config) when is_list(Config) -> disabled -> Config; Backend -> - Mods = [{mod_mam_meta, [{backend, Backend}, {pm, []}]}], + Mods = [{mod_mam_meta, mam_helper:config_opts(#{backend => Backend, pm => #{}})}], dynamic_modules:ensure_modules(domain_helper:host_type(), Mods), [{has_mam, true}|Config] end;