tests changes
This commit is contained in:
parent
14678a7708
commit
9f884a2639
4 changed files with 27 additions and 52 deletions
|
|
@ -24,8 +24,8 @@ defmodule Pleroma.HTTP.AdapterHelper.GunTest do
|
|||
defp gun_mock do
|
||||
Pleroma.GunMock
|
||||
|> stub(:open, fn _, _, _ -> Task.start_link(fn -> Process.sleep(1000) end) end)
|
||||
|> expect(:await_up, fn _, _ -> {:ok, :http} end)
|
||||
|> expect(:set_owner, fn _, _ -> :ok end)
|
||||
|> stub(:await_up, fn _, _ -> {:ok, :http} end)
|
||||
|> stub(:set_owner, fn _, _ -> :ok end)
|
||||
end
|
||||
|
||||
describe "options/1" do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue