summaryrefslogtreecommitdiff
path: root/test/pleroma/web/activity_pub/mrf_test.exs
diff options
context:
space:
mode:
Diffstat (limited to 'test/pleroma/web/activity_pub/mrf_test.exs')
-rw-r--r--test/pleroma/web/activity_pub/mrf_test.exs7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/pleroma/web/activity_pub/mrf_test.exs b/test/pleroma/web/activity_pub/mrf_test.exs
index 6ab27bc86..fd88435ff 100644
--- a/test/pleroma/web/activity_pub/mrf_test.exs
+++ b/test/pleroma/web/activity_pub/mrf_test.exs
@@ -70,6 +70,13 @@ defmodule Pleroma.Web.ActivityPub.MRFTest do
assert MRF.instance_list_from_tuples(list) == expected
end
+
+ test "it handles legacy config" do
+ list = [{"some.tld", "a reason"}, "other.tld"]
+ expected = ["some.tld", "other.tld"]
+
+ assert MRF.instance_list_from_tuples(list) == expected
+ end
end
describe "describe/0" do