Fix the test case 't_mod_presence'
This commit is contained in:
parent
4d214fb6e2
commit
fd455e57eb
|
@ -91,7 +91,7 @@ recv_and_check_presence(ClientId, Presence) ->
|
||||||
<<"disconnected">> ->
|
<<"disconnected">> ->
|
||||||
?assertMatch(#{clientid := <<"clientid">>,
|
?assertMatch(#{clientid := <<"clientid">>,
|
||||||
username := <<"username">>,
|
username := <<"username">>,
|
||||||
reason := <<"normal">>}, emqx_json:decode(Payload, [{labels, atom}, return_maps]))
|
reason := <<"closed">>}, emqx_json:decode(Payload, [{labels, atom}, return_maps]))
|
||||||
end.
|
end.
|
||||||
|
|
||||||
%% Test case for emqx_mod_subscription
|
%% Test case for emqx_mod_subscription
|
||||||
|
|
Loading…
Reference in New Issue