diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2020-09-08 09:13:11 +0200 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2020-09-08 18:43:57 +0200 |
commit | 921f926e96fd07131d4b79f5a29caed17ae2cc56 (patch) | |
tree | a4b34174d044e2305dd26a93306c9ce62dc0e3f8 /lib | |
parent | ee0e05f9301e149c769f36bfd0fc8527ec7b6326 (diff) | |
download | pleroma-921f926e96fd07131d4b79f5a29caed17ae2cc56.tar.gz |
Remove OStatus in testsuite
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/object/containment.ex | 7 |
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 |