making credo happy and test fix
authorAlexander Strizhakov <alex.strizhakov@gmail.com>
Wed, 11 Nov 2020 07:48:03 +0000 (10:48 +0300)
committerAlexander Strizhakov <alex.strizhakov@gmail.com>
Wed, 11 Nov 2020 07:48:03 +0000 (10:48 +0300)
lib/pleroma/web/activity_pub/mrf/user_allow_list_policy.ex
test/pleroma/web/activity_pub/mrf_test.exs

index f2859abde028cb8fe23d7727926f27f95747dd80..e9d0d0503c3e39e2987fd8b0712825944ed6744f 100644 (file)
@@ -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"]}]
   #       }
   #     ]
index 17aef2e16a042e79f97bab21fa12c6ed7caa2ec5..44a9cf086b51f6e64a6b26cc825b1e8957911a51 100644 (file)
@@ -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