Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
macpie committed Jul 8, 2024
1 parent 594ae97 commit d7f00b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/hpr_routing.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,9 @@ maybe_deliver_packet_to_route_multi_buy() ->
%% Packet 4 refused using route multi buy 3 (counter 4)
?assertEqual(
{error, multi_buy},
maybe_deliver_packet_to_route(PacketUp, RouteETS1, erlang:system_time(millisecond), 0)
maybe_deliver_packet_to_route(
hpr_packet_up:type(PacketUp), PacketUp, RouteETS1, erlang:system_time(millisecond), 0
)
),

?assertEqual(2, meck:num_calls(hpr_protocol_router, send, 4)),
Expand Down

0 comments on commit d7f00b5

Please sign in to comment.