resolved activity view test
authorVald <maghtpol@gmail.com>
Wed, 5 Dec 2018 20:24:04 +0000 (01:54 +0530)
committerVald <maghtpol@gmail.com>
Wed, 5 Dec 2018 20:24:04 +0000 (01:54 +0530)
test/web/twitter_api/views/activity_view_test.exs

index 5cef06f882e7017c3c473685a978d92fa96bcacd..bc36b0e905b6dfdff22d48a04fa4630093b1c460 100644 (file)
@@ -47,7 +47,7 @@ defmodule Pleroma.Web.TwitterAPI.ActivityViewTest do
       "repeated" => false,
       "statusnet_conversation_id" => convo_id,
       "statusnet_html" =>
-        "Hey <span><a href=\"#{other_user.ap_id}\">@<span>shp</span></a></span>!",
+        "Hey <span><a data-user=\"#{other_user.id}\" href=\"#{other_user.ap_id}\">@<span>shp</span></a></span>!",
       "tags" => [],
       "text" => "Hey @shp!",
       "uri" => activity.data["object"]["id"],