aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-04-30 09:25:46 +0200
committerRoger Braun <roger@rogerbraun.net>2017-04-30 09:25:46 +0200
commit8a0d2b33d8c9a1cef347c5daf5589a2245eb01b0 (patch)
treeb6310d12272994b41a4284baf030d3f17f5d13ca /test
parenta16da387d251edc4d1bae949146c807d217cee1f (diff)
downloadpleroma-8a0d2b33d8c9a1cef347c5daf5589a2245eb01b0.tar.gz
Keep ostatus id as activity id.
Diffstat (limited to 'test')
-rw-r--r--test/web/ostatus/ostatus_test.exs1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/web/ostatus/ostatus_test.exs b/test/web/ostatus/ostatus_test.exs
index 1e747c728..a53e0ebde 100644
--- a/test/web/ostatus/ostatus_test.exs
+++ b/test/web/ostatus/ostatus_test.exs
@@ -7,6 +7,7 @@ defmodule Pleroma.Web.OStatusTest do
{:ok, [activity]} = OStatus.handle_incoming(incoming)
assert activity.data["type"] == "Create"
+ assert activity.data["id"] == "tag:gs.example.org:4040,2017-04-23:noticeId=29:objectType=note"
assert activity.data["object"]["type"] == "Note"
assert activity.data["published"] == "2017-04-23T14:51:03+00:00"
assert activity.data["context"] == "tag:gs.example.org:4040,2017-04-23:objectType=thread:nonce=f09e22f58abd5c7b"