Skip to content

Commit

Permalink
Configure mod_offline with correct backend in xep_0352_csi_SUITE
Browse files Browse the repository at this point in the history
  • Loading branch information
arcusfelis committed Aug 5, 2023
1 parent 3677b77 commit a5534f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion big_tests/tests/xep_0352_csi_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ suite() ->

init_per_suite(Config) ->
NewConfig = dynamic_modules:save_modules(host_type(), Config),
Backend = mongoose_helper:mnesia_or_rdbms_backend(),
dynamic_modules:ensure_modules(
host_type(), [{mod_offline, default_mod_config(mod_offline)},
host_type(), [{mod_offline, mod_config(mod_offline, #{backend => Backend})},
{mod_csi, mod_config(mod_csi, #{buffer_max => ?CSI_BUFFER_MAX})}]),
[{escalus_user_db, {module, escalus_ejabberd}} | escalus:init_per_suite(NewConfig)].

Expand Down

0 comments on commit a5534f7

Please sign in to comment.