|
|
@@ -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(),
|