fix: plugin_test failed

This commit is contained in:
Zhongwen Deng 2022-06-17 12:09:18 +08:00
parent bbf45e9d2a
commit 430cb32ee0
1 changed files with 2 additions and 2 deletions

View File

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