commit: afb8d9ec134b9c12a116da27e4c6da7f3e9941a6
parent: 3f9c7783205f8448678162e4fe4c5a4c1b801d4f
Author: rinpatch <rinpatch@sdf.org>
Date: Mon, 21 Jan 2019 20:02:58 +0000
Merge branch 'fix-buggy-test' into 'develop'
Fix buggy test.
See merge request pleroma/pleroma!693
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/web/activity_pub/transmogrifier_test.exs b/test/web/activity_pub/transmogrifier_test.exs
@@ -914,7 +914,7 @@ defmodule Pleroma.Web.ActivityPub.TransmogrifierTest do
assert modified["directMessage"] == false
{:ok, activity} =
- CommonAPI.post(user, %{"status" => "@{other_user.nickname} :moominmamma:"})
+ CommonAPI.post(user, %{"status" => "@#{other_user.nickname} :moominmamma:"})
{:ok, modified} = Transmogrifier.prepare_outgoing(activity.data)
@@ -922,7 +922,7 @@ defmodule Pleroma.Web.ActivityPub.TransmogrifierTest do
{:ok, activity} =
CommonAPI.post(user, %{
- "status" => "@{other_user.nickname} :moominmamma:",
+ "status" => "@#{other_user.nickname} :moominmamma:",
"visibility" => "direct"
})