test(gateway): fix authz callback rename

This commit is contained in:
JimMoen 2022-05-12 14:39:12 +08:00
parent 4fa84cce29
commit c181efd0ae
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ init_per_suite(Config) ->
emqx_config:erase(gateway),
init_gateway_conf(),
meck:new(emqx_authz_file, [non_strict, passthrough, no_history, no_link]),
meck:expect(emqx_authz_file, init, fun(S) -> S end),
meck:expect(emqx_authz_file, create, fun(S) -> S end),
emqx_mgmt_api_test_util:init_suite([emqx_conf, emqx_authz, emqx_gateway]),
application:ensure_all_started(cowboy),
emqx_gateway_auth_ct:start(),