aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Strizhakov <alex.strizhakov@gmail.com>2020-11-11 10:48:03 +0300
committerAlexander Strizhakov <alex.strizhakov@gmail.com>2020-11-11 10:48:03 +0300
commitf97f24b067b6d0205f093b04aeb08c3d56faa7b4 (patch)
tree71beb9de0f1fe5786f6172133bb5ca577b26cde7
parentefc27f64643f24e97c604efa02c15bfe3210cf3b (diff)
downloadpleroma-f97f24b067b6d0205f093b04aeb08c3d56faa7b4.tar.gz
making credo happy and test fix
-rw-r--r--lib/pleroma/web/activity_pub/mrf/user_allow_list_policy.ex3
-rw-r--r--test/pleroma/web/activity_pub/mrf_test.exs1
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/web/activity_pub/mrf/user_allow_list_policy.ex b/lib/pleroma/web/activity_pub/mrf/user_allow_list_policy.ex
index f2859abde..e9d0d0503 100644
--- a/lib/pleroma/web/activity_pub/mrf/user_allow_list_policy.ex
+++ b/lib/pleroma/web/activity_pub/mrf/user_allow_list_policy.ex
@@ -55,7 +55,8 @@ defmodule Pleroma.Web.ActivityPub.MRF.UserAllowListPolicy do
# type: :map,
# description:
# "The keys in this section are the domain names that the policy should apply to." <>
- # " Each key should be assigned a list of users that should be allowed through by their ActivityPub ID",
+ # " Each key should be assigned a list of users that should be allowed " <>
+ # "through by their ActivityPub ID",
# suggestions: [%{"example.org" => ["https://example.org/users/admin"]}]
# }
# ]
diff --git a/test/pleroma/web/activity_pub/mrf_test.exs b/test/pleroma/web/activity_pub/mrf_test.exs
index 17aef2e16..44a9cf086 100644
--- a/test/pleroma/web/activity_pub/mrf_test.exs
+++ b/test/pleroma/web/activity_pub/mrf_test.exs
@@ -98,7 +98,6 @@ defmodule Pleroma.Web.ActivityPub.MRFTest do
related_policy: "Fixtures.Modules.GoodMRF",
label: "Good MRF",
description: "Some description",
- children: [],
group: :pleroma,
tab: :mrf,
type: :group