Merge branch 'bugfix/federation-kroeg' into 'develop'
fix federation with kroeg See merge request pleroma/pleroma!272
This commit is contained in:
commit
5fbb14f5ec
5 changed files with 94 additions and 1 deletions
|
|
@ -3,6 +3,14 @@ defmodule HTTPoisonMock do
|
|||
|
||||
def get(url, body \\ [], headers \\ [])
|
||||
|
||||
def get("https://puckipedia.com/", [Accept: "application/activity+json"], _) do
|
||||
{:ok,
|
||||
%Response{
|
||||
status_code: 200,
|
||||
body: File.read!("test/fixtures/httpoison_mock/puckipedia.com.json")
|
||||
}}
|
||||
end
|
||||
|
||||
def get(
|
||||
"https://gerzilla.de/.well-known/webfinger?resource=acct:kaniini@gerzilla.de",
|
||||
[Accept: "application/xrd+xml,application/jrd+json"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue