summaryrefslogtreecommitdiff
path: root/test/web/activity_pub/object_validator_test.exs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-06-26 12:06:00 +0200
committerlain <lain@soykaf.club>2020-06-26 12:06:00 +0200
commit15a8b703185c685fc3d25a381fcb9dee522c78bf (patch)
treee2447019bfcf9e0545a2da7ada1e23bead5398e2 /test/web/activity_pub/object_validator_test.exs
parentc3383d4fab6181d9f605a6058805333611534398 (diff)
downloadpleroma-15a8b703185c685fc3d25a381fcb9dee522c78bf.tar.gz
pleroma-15a8b703185c685fc3d25a381fcb9dee522c78bf.zip
User: Don't unfollow on block when the relevant setting is set.
Diffstat (limited to 'test/web/activity_pub/object_validator_test.exs')
-rw-r--r--test/web/activity_pub/object_validator_test.exs6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/web/activity_pub/object_validator_test.exs b/test/web/activity_pub/object_validator_test.exs
index a3d43ef3c..f38bf7e08 100644
--- a/test/web/activity_pub/object_validator_test.exs
+++ b/test/web/activity_pub/object_validator_test.exs
@@ -680,11 +680,5 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidatorTest do
assert {:error, _cng} = ObjectValidator.validate(block, [])
end
-
- test "returns an error if don't accept remote blocks", %{valid_block: valid_block} do
- clear_config([:activitypub, :unfollow_blocked], false)
-
- assert {:error, _cng} = ObjectValidator.validate(valid_block, [])
- end
end
end