From f4a34a9f229c3c1415c1900aa7bc12ed782beaa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Chrz=C4=85szcz?= Date: Mon, 28 Feb 2022 17:39:06 +0100 Subject: [PATCH] fix --- big_tests/tests/domain_removal_SUITE.erl | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/big_tests/tests/domain_removal_SUITE.erl b/big_tests/tests/domain_removal_SUITE.erl index aeea06c3e26..4b2e444fea5 100644 --- a/big_tests/tests/domain_removal_SUITE.erl +++ b/big_tests/tests/domain_removal_SUITE.erl @@ -4,7 +4,6 @@ -import(distributed_helper, [mim/0, rpc/4, subhost_pattern/1]). -import(domain_helper, [host_type/0, domain_to_host_type/2, domain/0]). --import(config_parser_helper, [config/2, default_config/1, mod_config/2]). -include("mam_helper.hrl"). -include_lib("eunit/include/eunit.hrl"). @@ -80,13 +79,10 @@ group_to_modules(auth_removal) -> []; group_to_modules(cache_removal) -> [{mod_cache_users, []}, - {mod_mam_meta, mod_config(mod_mam_meta, - #{pm => default_config([modules, mod_mam_meta, pm])})}]; + {mod_mam_meta, mam_helper:config_opts(#{pm => #{}})}]; group_to_modules(mam_removal) -> MucHost = subhost_pattern(muc_light_helper:muc_host_pattern()), - [{mod_mam_meta, mod_config(mod_mam_meta, - #{pm => default_config([modules, mod_mam_meta, pm]), - muc => config([modules, mod_mam_meta, muc], #{host => MucHost})})}, + [{mod_mam_meta, mam_helper:config_opts(#{pm => #{}, muc => #{host => MucHost}})}, {mod_muc_light, [{backend, rdbms}, {host, MucHost}]}]; group_to_modules(muc_light_removal) -> MucHost = subhost_pattern(muc_light_helper:muc_host_pattern()),