Skip to content

Commit

Permalink
Fix indentation in big tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chrzaszcz committed Jun 15, 2022
1 parent 159f400 commit 66efc03
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion big_tests/tests/mam_proper_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down
4 changes: 2 additions & 2 deletions big_tests/tests/mam_send_message_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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, []}].
Expand Down
2 changes: 1 addition & 1 deletion big_tests/tests/muc_light_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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) ->
Expand Down
2 changes: 1 addition & 1 deletion big_tests/tests/muc_light_legacy_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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) ->
Expand Down
8 changes: 4 additions & 4 deletions big_tests/tests/rest_helper.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 66efc03

Please sign in to comment.