test(emqx): remove `peercert` from clientinfo fixtures

According to typespec, there's no place for `peercert` in
`clientinfo()`.
This commit is contained in:
Andrew Mayorov 2023-05-16 13:28:22 +03:00
parent b341a04955
commit 967b2e72e0
No known key found for this signature in database
GPG Key ID: 2837C62ACFBFED5D
4 changed files with 0 additions and 15 deletions

View File

@ -116,7 +116,6 @@ clientinfo(InitProps) ->
username => <<"username">>, username => <<"username">>,
password => <<"passwd">>, password => <<"passwd">>,
is_superuser => false, is_superuser => false,
peercert => undefined,
mountpoint => undefined mountpoint => undefined
}, },
InitProps InitProps

View File

@ -1211,7 +1211,6 @@ clientinfo(InitProps) ->
clientid => <<"clientid">>, clientid => <<"clientid">>,
username => <<"username">>, username => <<"username">>,
is_superuser => false, is_superuser => false,
peercert => undefined,
mountpoint => undefined mountpoint => undefined
}, },
InitProps InitProps

View File

@ -676,7 +676,6 @@ channel(InitFields) ->
clientid => <<"clientid">>, clientid => <<"clientid">>,
username => <<"username">>, username => <<"username">>,
is_superuser => false, is_superuser => false,
peercert => undefined,
mountpoint => undefined mountpoint => undefined
}, },
Conf = emqx_cm:get_session_confs(ClientInfo, #{ Conf = emqx_cm:get_session_confs(ClientInfo, #{

View File

@ -33,17 +33,6 @@
] ]
). ).
-define(STATS_KEYS, [
recv_oct,
recv_cnt,
send_oct,
send_cnt,
recv_pkt,
recv_msg,
send_pkt,
send_msg
]).
-define(ws_conn, emqx_ws_connection). -define(ws_conn, emqx_ws_connection).
all() -> emqx_common_test_helpers:all(?MODULE). all() -> emqx_common_test_helpers:all(?MODULE).
@ -618,7 +607,6 @@ channel(InitFields) ->
clientid => <<"clientid">>, clientid => <<"clientid">>,
username => <<"username">>, username => <<"username">>,
is_superuser => false, is_superuser => false,
peercert => undefined,
mountpoint => undefined mountpoint => undefined
}, },
Conf = emqx_cm:get_session_confs(ClientInfo, #{ Conf = emqx_cm:get_session_confs(ClientInfo, #{