diff options
author | lain <lain@soykaf.club> | 2020-06-25 11:51:33 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-06-25 11:51:33 +0200 |
commit | 44bb7cfccdf2c25ae641b4cffa8e5c7fdedc3f54 (patch) | |
tree | 558c1d6a2451be0605705768956e92b14948b57e /test/web/activity_pub/side_effects_test.exs | |
parent | 8cfb58a8c0a2ee0c69eb727cc810e8571289f813 (diff) | |
download | pleroma-44bb7cfccdf2c25ae641b4cffa8e5c7fdedc3f54.tar.gz pleroma-44bb7cfccdf2c25ae641b4cffa8e5c7fdedc3f54.zip |
ActivityPub: Remove `block`.
Diffstat (limited to 'test/web/activity_pub/side_effects_test.exs')
-rw-r--r-- | test/web/activity_pub/side_effects_test.exs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/web/activity_pub/side_effects_test.exs b/test/web/activity_pub/side_effects_test.exs index 5e883bb09..36792f015 100644 --- a/test/web/activity_pub/side_effects_test.exs +++ b/test/web/activity_pub/side_effects_test.exs @@ -267,8 +267,7 @@ defmodule Pleroma.Web.ActivityPub.SideEffectsTest do {:ok, like} = CommonAPI.favorite(user, post.id) {:ok, reaction} = CommonAPI.react_with_emoji(post.id, user, "👍") {:ok, announce} = CommonAPI.repeat(post.id, user) - {:ok, block} = ActivityPub.block(user, poster) - User.block(user, poster) + {:ok, block} = CommonAPI.block(user, poster) {:ok, undo_data, _meta} = Builder.undo(user, like) {:ok, like_undo, _meta} = ActivityPub.persist(undo_data, local: true) |