Fix the test case 't_mod_presence'

This commit is contained in:
zhouzb 2019-09-20 18:38:28 +08:00
parent 4d214fb6e2
commit fd455e57eb
1 changed files with 1 additions and 1 deletions

View File

@ -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