test: update testcase for new emqtt

This commit is contained in:
William Yang 2022-12-13 09:49:02 +01:00
parent 7d9bd33de9
commit 04a8a49dbe
1 changed files with 1 additions and 1 deletions

View File

@ -919,7 +919,7 @@ t_shared_subscriptions_client_terminates_when_qos_eq_2(Config) ->
emqtt, emqtt,
connected, connected,
fun fun
(cast, ?PUBLISH_PACKET(?QOS_2, _PacketId), _State) -> (cast, {?PUBLISH_PACKET(?QOS_2, _PacketId), _Via}, _State) ->
ok = counters:add(CRef, 1, 1), ok = counters:add(CRef, 1, 1),
{stop, {shutdown, for_testing}}; {stop, {shutdown, for_testing}};
(Arg1, ARg2, Arg3) -> (Arg1, ARg2, Arg3) ->