summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2018-06-24 06:30:23 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2018-06-27 13:38:07 +0000
commit66819ea784509fbed3f7db8056ececf150339b35 (patch)
treeaf7cbfcf98339cff8ebddaba9dd67796cfff9b6c /test
parentea982e7503767f645dc26235e04c541ce976de71 (diff)
downloadpleroma-66819ea784509fbed3f7db8056ececf150339b35.tar.gz
pleroma-66819ea784509fbed3f7db8056ececf150339b35.zip
twitter api: use ActivityView.render_content() where appropriate instead of duplicating the logic
Diffstat (limited to 'test')
-rw-r--r--test/web/twitter_api/representers/activity_representer_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/twitter_api/representers/activity_representer_test.exs b/test/web/twitter_api/representers/activity_representer_test.exs
index 16c6e7b0d..7505093dd 100644
--- a/test/web/twitter_api/representers/activity_representer_test.exs
+++ b/test/web/twitter_api/representers/activity_representer_test.exs
@@ -126,7 +126,7 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenterTest do
}
expected_html =
- "<span>2hu</span><br />alert('YAY')Some <img height='32px' width='32px' alt='2hu' title='2hu' src='corndog.png' /> content mentioning <a href=\"#{
+ "<p>2hu</p>alert('YAY')Some <img height='32px' width='32px' alt='2hu' title='2hu' src='corndog.png' /> content mentioning <a href=\"#{
mentioned_user.ap_id
}\">@shp</a>"