summaryrefslogtreecommitdiff
path: root/test/web/twitter_api/representers
diff options
context:
space:
mode:
authorTristan Mahé <gled@remote-shell.net>2018-07-13 11:14:37 -0700
committerTristan Mahé <gled@remote-shell.net>2018-07-13 11:14:37 -0700
commit5469fb9561bb886deb8434e545dfb711eb20f341 (patch)
tree78ab675afd6169e2497b5c47882725cc1d2f2326 /test/web/twitter_api/representers
parentc06a5af386a3cdfeda0b2c21963d9200fb7d6c89 (diff)
parentd93789dfde3c44c76a56732088a897ddddfe9716 (diff)
downloadpleroma-5469fb9561bb886deb8434e545dfb711eb20f341.tar.gz
pleroma-5469fb9561bb886deb8434e545dfb711eb20f341.zip
Merge remote-tracking branch 'upstream/develop' into feature/filter_exif
Diffstat (limited to 'test/web/twitter_api/representers')
-rw-r--r--test/web/twitter_api/representers/activity_representer_test.exs5
1 files changed, 3 insertions, 2 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..3f85e028b 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>"
@@ -155,7 +155,8 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenterTest do
"activity_type" => "post",
"possibly_sensitive" => true,
"uri" => activity.data["object"]["id"],
- "visibility" => "direct"
+ "visibility" => "direct",
+ "summary" => "2hu"
}
assert ActivityRepresenter.to_map(activity, %{