projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'fix/mix-task-uploads-moduledoc' into 'develop'
[akkoma]
/
test
/
web
/
web_finger
/
web_finger_test.exs
diff --git
a/test/web/web_finger/web_finger_test.exs
b/test/web/web_finger/web_finger_test.exs
index 28d429565ab3a154793965b542e9f967305ac7c5..32eff9b7c6850453d2f0023115fcaa047f2eed42 100644
(file)
--- a/
test/web/web_finger/web_finger_test.exs
+++ b/
test/web/web_finger/web_finger_test.exs
@@
-2,6
+2,12
@@
defmodule Pleroma.Web.WebFingerTest do
use Pleroma.DataCase
alias Pleroma.Web.WebFinger
import Pleroma.Factory
+ import Tesla.Mock
+
+ setup do
+ mock(fn env -> apply(HttpRequestMock, :request, [env]) end)
+ :ok
+ end
describe "host meta" do
test "returns a link to the xml lrdd" do