projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add finch outbound proxy support (#158)
[akkoma]
/
test
/
pleroma
/
web
/
activity_pub
/
mrf
/
mention_policy_test.exs
diff --git
a/test/pleroma/web/activity_pub/mrf/mention_policy_test.exs
b/test/pleroma/web/activity_pub/mrf/mention_policy_test.exs
index b1d0f587c61d4989141efe6d4eeee5f27b1b60f7..80ddcacbed7c2c57323c7383e4a01b57072e7ca7 100644
(file)
--- a/
test/pleroma/web/activity_pub/mrf/mention_policy_test.exs
+++ b/
test/pleroma/web/activity_pub/mrf/mention_policy_test.exs
@@
-23,7
+23,7
@@
defmodule Pleroma.Web.ActivityPub.MRF.MentionPolicyTest do
describe "allow" do
test "empty" do
describe "allow" do
test "empty" do
-
Pleroma.Config.put
([:mrf_mention], %{actors: ["https://example.com/blocked"]})
+
clear_config
([:mrf_mention], %{actors: ["https://example.com/blocked"]})
message = %{
"type" => "Create"
message = %{
"type" => "Create"
@@
-33,7
+33,7
@@
defmodule Pleroma.Web.ActivityPub.MRF.MentionPolicyTest do
end
test "to" do
end
test "to" do
-
Pleroma.Config.put
([:mrf_mention], %{actors: ["https://example.com/blocked"]})
+
clear_config
([:mrf_mention], %{actors: ["https://example.com/blocked"]})
message = %{
"type" => "Create",
message = %{
"type" => "Create",
@@
-44,7
+44,7
@@
defmodule Pleroma.Web.ActivityPub.MRF.MentionPolicyTest do
end
test "cc" do
end
test "cc" do
-
Pleroma.Config.put
([:mrf_mention], %{actors: ["https://example.com/blocked"]})
+
clear_config
([:mrf_mention], %{actors: ["https://example.com/blocked"]})
message = %{
"type" => "Create",
message = %{
"type" => "Create",
@@
-55,7
+55,7
@@
defmodule Pleroma.Web.ActivityPub.MRF.MentionPolicyTest do
end
test "both" do
end
test "both" do
-
Pleroma.Config.put
([:mrf_mention], %{actors: ["https://example.com/blocked"]})
+
clear_config
([:mrf_mention], %{actors: ["https://example.com/blocked"]})
message = %{
"type" => "Create",
message = %{
"type" => "Create",
@@
-69,7
+69,7
@@
defmodule Pleroma.Web.ActivityPub.MRF.MentionPolicyTest do
describe "deny" do
test "to" do
describe "deny" do
test "to" do
-
Pleroma.Config.put
([:mrf_mention], %{actors: ["https://example.com/blocked"]})
+
clear_config
([:mrf_mention], %{actors: ["https://example.com/blocked"]})
message = %{
"type" => "Create",
message = %{
"type" => "Create",
@@
-81,7
+81,7
@@
defmodule Pleroma.Web.ActivityPub.MRF.MentionPolicyTest do
end
test "cc" do
end
test "cc" do
-
Pleroma.Config.put
([:mrf_mention], %{actors: ["https://example.com/blocked"]})
+
clear_config
([:mrf_mention], %{actors: ["https://example.com/blocked"]})
message = %{
"type" => "Create",
message = %{
"type" => "Create",