aboutsummaryrefslogtreecommitdiff
path: root/test/web/twitter_api/representers
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2018-06-24 06:23:19 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2018-07-12 16:12:25 +0000
commit4fb64c1d862692bb869dd735e9772195b7cf2705 (patch)
tree57f7b5ab6b731a2eff950fcabe1b1fdd7e74c556 /test/web/twitter_api/representers
parentf03e57f7647f4d302359680c7eb7fe48433c7beb (diff)
downloadpleroma-4fb64c1d862692bb869dd735e9772195b7cf2705.tar.gz
testsuite: twitter api: add summary where necessary
Diffstat (limited to 'test/web/twitter_api/representers')
-rw-r--r--test/web/twitter_api/representers/activity_representer_test.exs3
1 files changed, 2 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 7505093dd..3f85e028b 100644
--- a/test/web/twitter_api/representers/activity_representer_test.exs
+++ b/test/web/twitter_api/representers/activity_representer_test.exs
@@ -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, %{