diff options
author | Roger Braun <roger@rogerbraun.net> | 2017-06-18 14:43:44 +0200 |
---|---|---|
committer | Roger Braun <roger@rogerbraun.net> | 2017-06-18 14:43:44 +0200 |
commit | fafb765c4808f111a98a307a148f635eb42af891 (patch) | |
tree | a60c558be9f4a63d3533c3c7cdb5d2b3a215395a /test | |
parent | 8feec8d390f34114c5f42faf366f899a2b4af9fb (diff) | |
download | pleroma-fafb765c4808f111a98a307a148f635eb42af891.tar.gz |
Output tags list in TwAPI.
Diffstat (limited to 'test')
-rw-r--r-- | test/web/twitter_api/representers/activity_representer_test.exs | 3 |
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 022595b91..db5981b58 100644 --- a/test/web/twitter_api/representers/activity_representer_test.exs +++ b/test/web/twitter_api/representers/activity_representer_test.exs @@ -124,7 +124,8 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenterTest do "repeat_num" => 3, "favorited" => false, "repeated" => false, - "external_url" => activity.data["id"] + "external_url" => activity.data["id"], + "tags" => ["content", "mentioning", "nsfw"] } assert ActivityRepresenter.to_map(activity, %{user: user, for: follower, mentioned: [mentioned_user]}) == expected_status |