update MockHelpers to stub all expected functions

This commit is contained in:
Fly Dev 2025-06-23 14:21:16 +00:00
parent ce876f88d0
commit 969dc1ee81

View file

@ -11,6 +11,10 @@ defmodule Aprs.MockHelpers do
Mox.stub(PacketsMock, :get_historical_packet_count, fn _opts -> 0 end)
Mox.stub(PacketsMock, :stream_packets_for_replay, fn _opts -> [] end)
Mox.stub(PacketsMock, :get_packets_for_replay, fn _opts -> [] end)
Mox.stub(PacketsMock, :get_recent_packets, fn _opts -> [] end)
Mox.stub(PacketsMock, :clean_old_packets, fn -> {:ok, 0} end)
Mox.stub(PacketsMock, :clean_packets_older_than, fn _days -> {:ok, 0} end)
end
def stub_badpackets_mock do