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">> ->
|
||||
?assertMatch(#{clientid := <<"clientid">>,
|
||||
username := <<"username">>,
|
||||
reason := <<"normal">>}, emqx_json:decode(Payload, [{labels, atom}, return_maps]))
|
||||
reason := <<"closed">>}, emqx_json:decode(Payload, [{labels, atom}, return_maps]))
|
||||
end.
|
||||
|
||||
%% Test case for emqx_mod_subscription
|
||||
|
|
Loading…
Reference in New Issue