From b78c91465159059dd60adb76710927f623da3dfa Mon Sep 17 00:00:00 2001 From: JianBo He Date: Fri, 24 Sep 2021 11:14:25 +0800 Subject: [PATCH] test(authn): cleanup the dirty configs --- apps/emqx/test/emqx_authentication_SUITE.erl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/emqx/test/emqx_authentication_SUITE.erl b/apps/emqx/test/emqx_authentication_SUITE.erl index 5fd2e47af..e4684649d 100644 --- a/apps/emqx/test/emqx_authentication_SUITE.erl +++ b/apps/emqx/test/emqx_authentication_SUITE.erl @@ -236,6 +236,9 @@ t_update_config(Config) when is_list(Config) -> ?assertMatch({ok, _}, update_config([authentication], {delete_authenticator, Global, ID1})), ?assertEqual({error, {not_found, {authenticator, ID1}}}, ?AUTHN:lookup_authenticator(Global, ID1)), + ?assertMatch({ok, _}, update_config([authentication], {delete_authenticator, Global, ID2})), + ?assertEqual({error, {not_found, {authenticator, ID2}}}, ?AUTHN:lookup_authenticator(Global, ID2)), + ListenerID = 'tcp:default', ConfKeyPath = [listeners, tcp, default, authentication], ?assertMatch({ok, _}, update_config(ConfKeyPath, {create_authenticator, ListenerID, AuthenticatorConfig1})),