瀏覽代碼

fix: plugin_test failed

Zhongwen Deng 3 年之前
父節點
當前提交
430cb32ee0
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      apps/emqx_plugins/test/emqx_plugins_tests.erl

+ 2 - 2
apps/emqx_plugins/test/emqx_plugins_tests.erl

@@ -125,8 +125,8 @@ purge_test() ->
 meck_emqx() ->
     meck:new(emqx, [unstick, passthrough]),
     meck:expect(
-        emqx_conf,
-        update,
+        emqx,
+        update_config,
         fun(Path, Values, _Opts) ->
             emqx_config:put(Path, Values)
         end