Fix buggy test.
authorlain <lain@soykaf.club>
Mon, 21 Jan 2019 16:54:11 +0000 (17:54 +0100)
committerlain <lain@soykaf.club>
Mon, 21 Jan 2019 16:54:11 +0000 (17:54 +0100)
test/web/activity_pub/transmogrifier_test.exs

index c1d542245b5e493a12e3cbdb200f5a332cfa5bac..7db28854ae281f7c96edb06413033458bd8a2079 100644 (file)
@@ -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"
         })