test: fix config test

This commit is contained in:
zmstone 2024-03-22 10:22:36 +01:00
parent 5e9814d171
commit 8e8fc6a3d1
2 changed files with 5 additions and 3 deletions

View File

@ -190,8 +190,9 @@
anonymous => boolean(), anonymous => boolean(),
cn => binary(), cn => binary(),
dn => binary(), dn => binary(),
%% extra attributes %% Extra client attributes, commented out for bpapi spec backward compatibility.
client_attrs => client_attrs(), %% This field is never used in RPC calls.
%% client_attrs => client_attrs(),
atom() => term() atom() => term()
}. }.
-type client_attrs() :: #{binary() => binary()}. -type client_attrs() :: #{binary() => binary()}.

View File

@ -453,7 +453,8 @@ zone_global_defaults() ->
strict_mode => false, strict_mode => false,
upgrade_qos => false, upgrade_qos => false,
use_username_as_clientid => false, use_username_as_clientid => false,
wildcard_subscription => true wildcard_subscription => true,
client_attrs_init => disabled
}, },
overload_protection => overload_protection =>
#{ #{