summaryrefslogtreecommitdiff
path: root/test/web/push/impl_test.exs
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-07-31 14:12:29 +0300
committerrinpatch <rinpatch@sdf.org>2019-07-31 14:12:29 +0300
commitc88a5d32514f4ed78e4b9216198db62e8799ffe4 (patch)
treebc979f2522156be74138491114892e7acbeaafcb /test/web/push/impl_test.exs
parent41e0304757c5a0d9778f7e685c9ddf481f0e15cb (diff)
parent66575061851f13355958fd292ee545462bf191c0 (diff)
downloadpleroma-c88a5d32514f4ed78e4b9216198db62e8799ffe4.tar.gz
pleroma-c88a5d32514f4ed78e4b9216198db62e8799ffe4.zip
Merge branch 'develop' into feature/hide-follows-remote
Diffstat (limited to 'test/web/push/impl_test.exs')
-rw-r--r--test/web/push/impl_test.exs6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/web/push/impl_test.exs b/test/web/push/impl_test.exs
index 1e948086a..e2f89f40a 100644
--- a/test/web/push/impl_test.exs
+++ b/test/web/push/impl_test.exs
@@ -124,8 +124,7 @@ defmodule Pleroma.Web.Push.ImplTest do
{:ok, _, _, activity} = CommonAPI.follow(user, other_user)
object = Object.normalize(activity)
- assert Impl.format_body(%{activity: activity}, user, object) ==
- "@Bob has followed you"
+ assert Impl.format_body(%{activity: activity}, user, object) == "@Bob has followed you"
end
test "renders body for announce activity" do
@@ -156,7 +155,6 @@ defmodule Pleroma.Web.Push.ImplTest do
{:ok, activity, _} = CommonAPI.favorite(activity.id, user)
object = Object.normalize(activity)
- assert Impl.format_body(%{activity: activity}, user, object) ==
- "@Bob has favorited your post"
+ assert Impl.format_body(%{activity: activity}, user, object) == "@Bob has favorited your post"
end
end