fix(data_import): rm duplicate import call and fix test

This commit is contained in:
Thales Macedo Garitezi 2023-08-21 10:58:03 -03:00
parent ee2897e5de
commit f007b44426
2 changed files with 1 additions and 2 deletions

View File

@ -525,7 +525,6 @@ do_import_conf(RawConf, Opts) ->
Errors =
lists:foldr(
fun(Module, ErrorsAcc) ->
Module:import_config(RawConf),
case Module:import_config(RawConf) of
{ok, #{changed := Changed}} ->
maybe_print_changed(Changed, Opts),

View File

@ -440,8 +440,8 @@ create_test_tab(Attributes) ->
apps_to_start() ->
[
{emqx_conf, "dashboard.listeners.http.bind = 0"},
{emqx, #{override_env => [{boot_modules, [broker, router]}]}},
{emqx_conf, #{config => #{dashboard => #{listeners => #{http => #{bind => <<"0">>}}}}}},
emqx_psk,
emqx_management,
emqx_dashboard,