diff options
author | rinpatch <rinpatch@sdf.org> | 2019-01-21 20:02:58 +0000 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-01-21 20:02:58 +0000 |
commit | afb8d9ec134b9c12a116da27e4c6da7f3e9941a6 (patch) | |
tree | c5d78b718c5bdf14aa9bd04357c4b371be0da012 /test | |
parent | 3f9c7783205f8448678162e4fe4c5a4c1b801d4f (diff) | |
parent | 762fafe7387648520c8f7e4b5b248bc90e8c0f66 (diff) | |
download | pleroma-afb8d9ec134b9c12a116da27e4c6da7f3e9941a6.tar.gz |
Merge branch 'fix-buggy-test' into 'develop'
Fix buggy test.
See merge request pleroma/pleroma!693
Diffstat (limited to 'test')
-rw-r--r-- | test/web/activity_pub/transmogrifier_test.exs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/web/activity_pub/transmogrifier_test.exs b/test/web/activity_pub/transmogrifier_test.exs index c1d542245..7db28854a 100644 --- 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" }) |