aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2020-09-08 09:13:11 +0200
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2020-09-08 18:43:57 +0200
commit921f926e96fd07131d4b79f5a29caed17ae2cc56 (patch)
treea4b34174d044e2305dd26a93306c9ce62dc0e3f8 /lib
parentee0e05f9301e149c769f36bfd0fc8527ec7b6326 (diff)
downloadpleroma-921f926e96fd07131d4b79f5a29caed17ae2cc56.tar.gz
Remove OStatus in testsuite
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/object/containment.ex7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/pleroma/object/containment.ex b/lib/pleroma/object/containment.ex
index bc88e8a0c..29cb3d672 100644
--- a/lib/pleroma/object/containment.ex
+++ b/lib/pleroma/object/containment.ex
@@ -44,13 +44,6 @@ defmodule Pleroma.Object.Containment do
nil
end
- # TODO: We explicitly allow 'tag' URIs through, due to references to legacy OStatus
- # objects being present in the test suite environment. Once these objects are
- # removed, please also remove this.
- if Mix.env() == :test do
- defp compare_uris(_, %URI{scheme: "tag"}), do: :ok
- end
-
defp compare_uris(%URI{host: host} = _id_uri, %URI{host: host} = _other_uri), do: :ok
defp compare_uris(_id_uri, _other_uri), do: :error