summaryrefslogtreecommitdiff
path: root/test/web/twitter_api/representers
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-03-30 18:07:38 +0200
committerRoger Braun <roger@rogerbraun.net>2017-03-30 18:07:38 +0200
commit2e89d505d357c17962fdcf48b7ab48ae69ec519e (patch)
tree334f6b5758875a1e928211906754121a5d88d903 /test/web/twitter_api/representers
parent6aa1523bb3d8dfe12ce5143d27023fd833b0c1aa (diff)
downloadpleroma-2e89d505d357c17962fdcf48b7ab48ae69ec519e.tar.gz
pleroma-2e89d505d357c17962fdcf48b7ab48ae69ec519e.zip
Connect attachments with objects, not activities.
Diffstat (limited to 'test/web/twitter_api/representers')
-rw-r--r--test/web/twitter_api/representers/activity_representer_test.exs8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/web/twitter_api/representers/activity_representer_test.exs b/test/web/twitter_api/representers/activity_representer_test.exs
index 96e6dc98e..91300f229 100644
--- a/test/web/twitter_api/representers/activity_representer_test.exs
+++ b/test/web/twitter_api/representers/activity_representer_test.exs
@@ -33,16 +33,16 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenterTest do
User.ap_followers(user),
"https://www.w3.org/ns/activitystreams#Public"
],
- "attachment" => [
- object
- ],
"actor" => User.ap_id(user),
"object" => %{
"published" => date,
"type" => "Note",
"content" => content,
"inReplyToStatusId" => 213123,
- "statusnetConversationId" => 4711
+ "statusnetConversationId" => 4711,
+ "attachment" => [
+ object
+ ]
},
"published" => date
}