Browse Source

test: ensure clean config for retainer test

Zaiming (Stone) Shi 4 năm trước cách đây
mục cha
commit
2a01c7a077
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      apps/emqx_retainer/test/emqx_retainer_mqtt_v5_SUITE.erl

+ 1 - 1
apps/emqx_retainer/test/emqx_retainer_mqtt_v5_SUITE.erl

@@ -42,7 +42,7 @@ retainer {
 all() -> emqx_common_test_helpers:all(?MODULE).
 
 init_per_suite(Config) ->
-    ok = emqx_config:init_load(emqx_retainer_schema, ?BASE_CONF),
+    ok = emqx_common_test_helpers:load_config(emqx_retainer_schema, ?BASE_CONF),
     %% Meck emqtt
     ok = meck:new(emqtt, [non_strict, passthrough, no_history, no_link]),
     %% Start Apps