diff options
| author | lain <lain@soykaf.club> | 2020-06-26 12:06:00 +0200 |
|---|---|---|
| committer | lain <lain@soykaf.club> | 2020-06-26 12:06:00 +0200 |
| commit | 15a8b703185c685fc3d25a381fcb9dee522c78bf (patch) | |
| tree | e2447019bfcf9e0545a2da7ada1e23bead5398e2 /test/web/activity_pub/object_validator_test.exs | |
| parent | c3383d4fab6181d9f605a6058805333611534398 (diff) | |
| download | pleroma-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.exs | 6 |
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 |
