@@ -46,6 +46,7 @@ all() -> emqx_common_test_helpers:all(?MODULE).
init_per_suite(Conf) ->
application:load(emqx),
+ emqx_gateway_test_utils:load_all_gateway_apps(),
emqx_config:delete_override_conf_files(),
emqx_config:erase(gateway),
emqx_common_test_helpers:load_config(emqx_gateway_schema, ?CONF_DEFAULT),
@@ -34,6 +34,7 @@ all() -> emqx_common_test_helpers:all(?MODULE).
emqx_common_test_helpers:start_apps([]),
Conf.
@@ -28,6 +28,7 @@
all() -> emqx_common_test_helpers:all(?MODULE).
ok = meck:new(emqx_access_control, [passthrough, no_history, no_link]),
ok = meck:expect(
emqx_access_control,
@@ -33,6 +33,7 @@ all() -> emqx_common_test_helpers:all(?MODULE).
@@ -37,6 +37,7 @@ all() -> emqx_common_test_helpers:all(?MODULE).
%%--------------------------------------------------------------------
init_per_suite(Cfg) ->
ok = emqx_common_test_helpers:load_config(emqx_gateway_schema, ?CONF_DEFAULT),
emqx_common_test_helpers:start_apps([emqx_authn, emqx_gateway]),
Cfg.