projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'mix-emoji-task-pack-json' into 'develop'
[akkoma]
/
test
/
web
/
activity_pub
/
mrf
/
reject_non_public_test.exs
diff --git
a/test/web/activity_pub/mrf/reject_non_public_test.exs
b/test/web/activity_pub/mrf/reject_non_public_test.exs
index fdf6b245eeab98fa4e26800ae0472aafa7690a88..fc1d190bbe7a91e1952b2b9d02ea681b89253993 100644
(file)
--- a/
test/web/activity_pub/mrf/reject_non_public_test.exs
+++ b/
test/web/activity_pub/mrf/reject_non_public_test.exs
@@
-8,12
+8,7
@@
defmodule Pleroma.Web.ActivityPub.MRF.RejectNonPublicTest do
alias Pleroma.Web.ActivityPub.MRF.RejectNonPublic
alias Pleroma.Web.ActivityPub.MRF.RejectNonPublic
- setup do
- policy = Pleroma.Config.get([:mrf_rejectnonpublic])
- on_exit(fn -> Pleroma.Config.put([:mrf_rejectnonpublic], policy) end)
-
- :ok
- end
+ clear_config([:mrf_rejectnonpublic])
describe "public message" do
test "it's allowed when address is public" do
describe "public message" do
test "it's allowed when address is public" do