Skip to content

Commit

Permalink
https://github.com/bonfire-networks/bonfire-app/issues/924
Browse files Browse the repository at this point in the history
  • Loading branch information
mayel committed Jun 3, 2024
1 parent 67346e9 commit 31b5fc0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/fixtures.ex
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,16 @@ defmodule ActivityPub.Fixtures do
"https://home.local/1" => fn "https://home.local/1", _, _, _ ->
%Tesla.Env{status: 200, body: file("fixtures/mooglenet_person_actor.json")}
end,
"https://mocked.local/.well-known/webfinger?resource=acct%3Akaren%40mocked.local" =>
fn "https://mocked.local/.well-known/webfinger?resource=acct%3Akaren%40mocked.local",
_,
_,
_ ->
%Tesla.Env{
status: 200,
body: file("fixtures/pleroma_webfinger.json")
}
end,
"https://mocked.local/.well-known/webfinger?resource=acct:[email protected]" =>
fn "https://mocked.local/.well-known/webfinger?resource=acct:[email protected]",
_,
Expand Down

0 comments on commit 31b5fc0

Please sign in to comment.