projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
testsuite: twitter api: add summary where necessary
[akkoma]
/
test
/
web
/
twitter_api
/
representers
/
activity_representer_test.exs
diff --git
a/test/web/twitter_api/representers/activity_representer_test.exs
b/test/web/twitter_api/representers/activity_representer_test.exs
index 7505093dd2d4c93fab5d23fb7c1ad0fb2fd164a3..3f85e028ba87ff62f8bb8be6b9d7e5ebaf9370f4 100644
(file)
--- 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, %{