Fix error foe test/emqx_mod_presence_SUITE

This commit is contained in:
zhanghongtong 2019-12-07 06:50:40 +00:00 committed by turtleDeng
parent 7895432b7d
commit 81b1c5872c
1 changed files with 7 additions and 3 deletions

View File

@ -24,11 +24,15 @@
all() -> emqx_ct:all(?MODULE).
init_per_testcase(_TestCase, Config) ->
init_per_suite(Config) ->
emqx_ct_helpers:boot_modules(all),
emqx_ct_helpers:start_apps([emqx]),
%% Ensure all the modules unloaded.
ok = emqx_modules:unload(),
Config.
end_per_testcase(_TestCase, Config) ->
Config.
end_per_suite(_Config) ->
emqx_ct_helpers:stop_apps([emqx]).
%% Test case for emqx_mod_presence
t_mod_presence(_) ->