diff options
author | rinpatch <rinpatch@sdf.org> | 2019-07-31 14:12:29 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-07-31 14:12:29 +0300 |
commit | c88a5d32514f4ed78e4b9216198db62e8799ffe4 (patch) | |
tree | bc979f2522156be74138491114892e7acbeaafcb /test/web/push/impl_test.exs | |
parent | 41e0304757c5a0d9778f7e685c9ddf481f0e15cb (diff) | |
parent | 66575061851f13355958fd292ee545462bf191c0 (diff) | |
download | pleroma-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.exs | 6 |
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 |