summaryrefslogtreecommitdiff
path: root/test/object
diff options
context:
space:
mode:
authorRoman Chvanikov <roman@Romans-MacBook-Pro-2.local>2019-06-05 02:45:21 +0300
committerRoman Chvanikov <roman@Romans-MacBook-Pro-2.local>2019-06-05 02:45:21 +0300
commitb1b1a270e8f17b76d08771ca1e4025b1d227da05 (patch)
tree41a5896012a3f55f3de31f7ec97dc397ba02cd62 /test/object
parentf6036ce3b9649902ce1c2af819616ad25f0caef1 (diff)
parent5188add534a1532ef323a0fec3503f8e96dfe762 (diff)
downloadpleroma-b1b1a270e8f17b76d08771ca1e4025b1d227da05.tar.gz
pleroma-b1b1a270e8f17b76d08771ca1e4025b1d227da05.zip
Fix conflict
Diffstat (limited to 'test/object')
-rw-r--r--test/object/containment_test.exs5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/object/containment_test.exs b/test/object/containment_test.exs
index 452064093..a7a046203 100644
--- a/test/object/containment_test.exs
+++ b/test/object/containment_test.exs
@@ -6,6 +6,11 @@ defmodule Pleroma.Object.ContainmentTest do
import Pleroma.Factory
+ setup_all do
+ Tesla.Mock.mock_global(fn env -> apply(HttpRequestMock, :request, [env]) end)
+ :ok
+ end
+
describe "general origin containment" do
test "contain_origin_from_id() catches obvious spoofing attempts" do
data = %{