Fix buggy test.

This commit is contained in:
lain 2019-01-21 17:54:11 +01:00
parent 3f9c778320
commit 762fafe738
1 changed files with 2 additions and 2 deletions

View File

@ -914,7 +914,7 @@ test "the directMessage flag is present" 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 @@ test "the directMessage flag is present" do
{:ok, activity} =
CommonAPI.post(user, %{
"status" => "@{other_user.nickname} :moominmamma:",
"status" => "@#{other_user.nickname} :moominmamma:",
"visibility" => "direct"
})