update MockHelpers to stub all expected functions
This commit is contained in:
parent
ce876f88d0
commit
969dc1ee81
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue