test: bad authn handler callback module in SUITE
This commit is contained in:
parent
8f12d81878
commit
4f5d5216bb
|
@ -296,7 +296,7 @@ t_update_config({init, Config}) ->
|
|||
| Config
|
||||
];
|
||||
t_update_config(Config) when is_list(Config) ->
|
||||
emqx_config_handler:add_handler([?CONF_ROOT], emqx_authentication),
|
||||
emqx_config_handler:add_handler([?CONF_ROOT], emqx_authentication_config),
|
||||
ok = register_provider(?config("auth1"), ?MODULE),
|
||||
ok = register_provider(?config("auth2"), ?MODULE),
|
||||
Global = ?config(global),
|
||||
|
|
|
@ -33,15 +33,6 @@ unload() ->
|
|||
emqx_ctl:unregister_command(?CLUSTER_CALL),
|
||||
emqx_ctl:unregister_command(?CONF).
|
||||
|
||||
conf(["reload"]) ->
|
||||
ConfFiles = lists:flatten(lists:join(",", application:get_env(emqx, config_files, []))),
|
||||
case emqx_config:reload_etc_conf_on_local_node() of
|
||||
[] ->
|
||||
emqx_ctl:print("reload ~s success~n", [ConfFiles]);
|
||||
Error ->
|
||||
emqx_ctl:print("reload ~s failed:~n", [ConfFiles]),
|
||||
print(Error)
|
||||
end;
|
||||
conf(["print", "--only-keys"]) ->
|
||||
print(emqx_config:get_root_names());
|
||||
conf(["print"]) ->
|
||||
|
|
Loading…
Reference in New Issue