diff --git a/big_tests/tests/mam_proper_SUITE.erl b/big_tests/tests/mam_proper_SUITE.erl index 9f5f7e8f54d..ee0d56d9cf0 100644 --- a/big_tests/tests/mam_proper_SUITE.erl +++ b/big_tests/tests/mam_proper_SUITE.erl @@ -117,7 +117,7 @@ body() -> packet(To, Body) -> escalus_stanza:chat_to(jid:to_binary(To), Body). -%% Generates mod_mam_pm:archive_message_params() +%% Generates mod_mam:archive_message_params() params() -> ?LET({MessId, ArcId, LocalJid, RemoteJid, OriginId, Dir, Body, SenderId}, diff --git a/big_tests/tests/mam_send_message_SUITE.erl b/big_tests/tests/mam_send_message_SUITE.erl index 61b1c17147b..22cc57ec83f 100644 --- a/big_tests/tests/mam_send_message_SUITE.erl +++ b/big_tests/tests/mam_send_message_SUITE.erl @@ -74,8 +74,8 @@ end_per_group(_Groupname, Config) -> group_to_modules(send_message) -> MH = subhost_pattern(muc_light_helper:muc_host_pattern()), [{mod_mam, mam_helper:config_opts(#{pm => #{}, - muc => #{host => MH}, - send_message => mam_send_message_example})}, + muc => #{host => MH}, + send_message => mam_send_message_example})}, {mod_muc_light, mod_config(mod_muc_light, #{backend => mongoose_helper:mnesia_or_rdbms_backend()})}, {mam_send_message_example, []}]. diff --git a/big_tests/tests/muc_light_SUITE.erl b/big_tests/tests/muc_light_SUITE.erl index 35087c7e2d7..2ef2699184c 100644 --- a/big_tests/tests/muc_light_SUITE.erl +++ b/big_tests/tests/muc_light_SUITE.erl @@ -260,7 +260,7 @@ end_per_testcase(CaseName, Config) -> required_modules(CaseName, MAMBackend) -> [{mod_mam, mam_helper:config_opts(#{backend => MAMBackend, - muc => #{host => subhost_pattern(?MUCHOST)}})} | + muc => #{host => subhost_pattern(?MUCHOST)}})} | common_required_modules(CaseName)]. required_modules(CaseName) -> diff --git a/big_tests/tests/muc_light_legacy_SUITE.erl b/big_tests/tests/muc_light_legacy_SUITE.erl index c24a8536577..5e864b54b5e 100644 --- a/big_tests/tests/muc_light_legacy_SUITE.erl +++ b/big_tests/tests/muc_light_legacy_SUITE.erl @@ -192,7 +192,7 @@ end_per_testcase(CaseName, Config) -> required_modules(CaseName, MAMBackend) -> [{mod_mam, mam_helper:config_opts(#{backend => MAMBackend, - muc => #{host => subhost_pattern(?MUCHOST)}})} | + muc => #{host => subhost_pattern(?MUCHOST)}})} | common_required_modules(CaseName)]. required_modules(CaseName) -> diff --git a/big_tests/tests/rest_helper.erl b/big_tests/tests/rest_helper.erl index 1e8b6a8b260..b1a1961bffa 100644 --- a/big_tests/tests/rest_helper.erl +++ b/big_tests/tests/rest_helper.erl @@ -330,10 +330,10 @@ maybe_enable_mam(_, _, C) -> required_mam_modules(Backend) -> MucPattern = subhost_pattern(muc_light_helper:muc_host_pattern()), [{mod_mam, mam_helper:config_opts(#{backend => Backend, - pm => #{}, - muc => #{host => MucPattern}, - async_writer => #{enabled => false}, - archive_chat_markers => true})}]. + pm => #{}, + muc => #{host => MucPattern}, + async_writer => #{enabled => false}, + archive_chat_markers => true})}]. maybe_skip_mam_test_cases(CaseName, CasesRequireingMAM, Config) -> case lists:member(CaseName, CasesRequireingMAM) of