projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sanitize HTML in ReportView
[akkoma]
/
test
/
object
/
containment_test.exs
diff --git
a/test/object/containment_test.exs
b/test/object/containment_test.exs
index 4520640939f7d72b26193be97fdc18af30a93558..a7a046203a5d24ef5b8aed51f0b2fed89654dde0 100644
(file)
--- a/
test/object/containment_test.exs
+++ b/
test/object/containment_test.exs
@@
-6,6
+6,11
@@
defmodule Pleroma.Object.ContainmentTest do
import Pleroma.Factory
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 = %{
describe "general origin containment" do
test "contain_origin_from_id() catches obvious spoofing attempts" do
data = %{