test: fix emqx_mqtt_caps_SUITE

This commit is contained in:
William Yang 2023-05-05 17:45:11 +02:00
parent fb3c0c1fe9
commit 08d67aac9f
1 changed files with 10 additions and 1 deletions

View File

@ -22,7 +22,16 @@
-include_lib("emqx/include/emqx_mqtt.hrl").
-include_lib("eunit/include/eunit.hrl").
all() -> emqx_common_test_helpers:all(?MODULE).
all() ->
emqx_common_test_helpers:all(?MODULE).
init_per_suite(Config) ->
emqx_common_test_helpers:start_apps([]),
Config.
end_per_suite(_Config) ->
emqx_common_test_helpers:stop_apps([]),
ok.
t_check_pub(_) ->
OldConf = emqx:get_config([zones], #{}),