diff options
author | FloatingGhost <hannah@coffee-and-dreams.uk> | 2021-12-06 11:50:51 +0000 |
---|---|---|
committer | FloatingGhost <hannah@coffee-and-dreams.uk> | 2021-12-06 11:50:51 +0000 |
commit | db46913dcc01e6d5a274f7c82eef44c304d52244 (patch) | |
tree | 07c7df63813137c646986f341eb1532beafadc09 /test | |
parent | cd8bdbc761d950587a189bded2dcb02f6247f16d (diff) | |
download | pleroma-db46913dcc01e6d5a274f7c82eef44c304d52244.tar.gz |
make linter happy
Diffstat (limited to 'test')
-rw-r--r-- | test/pleroma/web/activity_pub/activity_pub_test.exs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/pleroma/web/activity_pub/activity_pub_test.exs b/test/pleroma/web/activity_pub/activity_pub_test.exs index b57e87247..574ef0d71 100644 --- a/test/pleroma/web/activity_pub/activity_pub_test.exs +++ b/test/pleroma/web/activity_pub/activity_pub_test.exs @@ -783,14 +783,13 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do {:ok, activity_one} = CommonAPI.post(deactivated, %{status: "hey!"}) {:ok, activity_two} = CommonAPI.post(active, %{status: "yay!"}) {:ok, _updated_user} = User.set_activation(deactivated, false) - + activities = ActivityPub.fetch_activities([], %{}) - + refute Enum.member?(activities, activity_one) assert Enum.member?(activities, activity_two) end - test "always see your own posts even when they address people you block" do user = insert(:user) blockee = insert(:user) |