add tests

This commit is contained in:
mmacia committed 2026-05-22 20:35:27 +00:00
1 parent 1640417cb5
commit 8908a6adf0
6 files changed
+194

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
defmodule FeedReader.TestSupport.TransportClient do
@moduledoc false
@behaviour FeedReader.Transport
@impl true
def request(url, opts) do
send(opts[:test_pid], {:transport_request, url})
{:ok, %{status: 200, headers: [], final_url: url, body: ["test"]}}
end
end