salmon fix

removed some ownership sandbox error
This commit is contained in:
Alex S 2019-06-16 18:49:24 +08:00
commit 0f59265a50
3 changed files with 30 additions and 2 deletions

View file

@ -802,6 +802,30 @@ defmodule HttpRequestMock do
}}
end
def post("http://mastodon.example.org/inbox", _, _, _) do
{:ok,
%Tesla.Env{
status: 200,
body: ""
}}
end
def post("https://hubzilla.example.org/inbox", _, _, _) do
{:ok,
%Tesla.Env{
status: 200,
body: ""
}}
end
def post("http://gs.example.org/index.php/main/salmon/user/1", _, _, _) do
{:ok,
%Tesla.Env{
status: 200,
body: ""
}}
end
def post("http://200.site" <> _, _, _, _) do
{:ok,
%Tesla.Env{