projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'chore/copyright-headers' into 'develop'
[akkoma]
/
test
/
web
/
activity_pub
/
mrf
/
mrf_test.exs
diff --git
a/test/web/activity_pub/mrf/mrf_test.exs
b/test/web/activity_pub/mrf/mrf_test.exs
index a63b254233fc2ecd9254c7adff3eb733488538b1..e8cdde2e1f82a91c7f7bb6b8ed053b838da44f86 100644
(file)
--- a/
test/web/activity_pub/mrf/mrf_test.exs
+++ b/
test/web/activity_pub/mrf/mrf_test.exs
@@
-1,3
+1,7
@@
+# Pleroma: A lightweight social networking server
+# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
+# SPDX-License-Identifier: AGPL-3.0-only
+
defmodule Pleroma.Web.ActivityPub.MRFTest do
use ExUnit.Case, async: true
use Pleroma.Tests.Helpers
defmodule Pleroma.Web.ActivityPub.MRFTest do
use ExUnit.Case, async: true
use Pleroma.Tests.Helpers
@@
-61,6
+65,8
@@
defmodule Pleroma.Web.ActivityPub.MRFTest do
describe "describe/0" do
test "it works as expected with noop policy" do
describe "describe/0" do
test "it works as expected with noop policy" do
+ clear_config([:mrf, :policies], [Pleroma.Web.ActivityPub.MRF.NoOpPolicy])
+
expected = %{
mrf_policies: ["NoOpPolicy"],
exclusions: false
expected = %{
mrf_policies: ["NoOpPolicy"],
exclusions: false