aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-05-02 18:25:39 +0200
committerRoger Braun <roger@rogerbraun.net>2017-05-02 18:25:39 +0200
commit33c803d6da91e0253a100cbd480d253706c44964 (patch)
tree5c976f3b8c77c7c6f563ffcfb86a4ff09bea2ca7 /test
parentb104348fa52c6ea51b9a159b145a48ca74a22332 (diff)
downloadpleroma-33c803d6da91e0253a100cbd480d253706c44964.tar.gz
Add attachment link to posts.
Diffstat (limited to 'test')
-rw-r--r--test/web/twitter_api/twitter_api_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/twitter_api/twitter_api_test.exs b/test/web/twitter_api/twitter_api_test.exs
index 4e17f3298..a92440f32 100644
--- a/test/web/twitter_api/twitter_api_test.exs
+++ b/test/web/twitter_api/twitter_api_test.exs
@@ -33,7 +33,7 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPITest do
{ :ok, activity = %Activity{} } = TwitterAPI.create_status(user, input)
- assert get_in(activity.data, ["object", "content"]) == "Hello again, <a href='shp'>@shp</a>.<br>This is on another line."
+ assert get_in(activity.data, ["object", "content"]) == "Hello again, <a href='shp'>@shp</a>.<br>This is on another line.<br><a href='http://example.org/image.jpg'>http://example.org/image.jpg</a>"
assert get_in(activity.data, ["object", "type"]) == "Note"
assert get_in(activity.data, ["object", "actor"]) == user.ap_id
assert get_in(activity.data, ["actor"]) == user.ap_id