Browse Source

test(gateway): fix authz callback rename

JimMoen 3 năm trước cách đây
mục cha
commit
c181efd0ae
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      apps/emqx_gateway/test/emqx_gateway_authz_SUITE.erl

+ 1 - 1
apps/emqx_gateway/test/emqx_gateway_authz_SUITE.erl

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