diff options
author | Roger Braun <roger@rogerbraun.net> | 2017-04-30 11:55:19 +0200 |
---|---|---|
committer | Roger Braun <roger@rogerbraun.net> | 2017-04-30 11:55:19 +0200 |
commit | 62607f37dcf3ab149baa09fe144959a25322be69 (patch) | |
tree | ec2c2b22bf10bcb5a68676a78eff5add092411a1 /test/web/ostatus/ostatus_test.exs | |
parent | 84027ff00b7fc63934f12129f84b5c7ee1d39248 (diff) | |
download | pleroma-62607f37dcf3ab149baa09fe144959a25322be69.tar.gz pleroma-62607f37dcf3ab149baa09fe144959a25322be69.zip |
Federate object id for posts in ostatus.
This is because ostatus doens't have an id for the activities.
Diffstat (limited to 'test/web/ostatus/ostatus_test.exs')
-rw-r--r-- | test/web/ostatus/ostatus_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/ostatus/ostatus_test.exs b/test/web/ostatus/ostatus_test.exs index 5452e5888..3edd39911 100644 --- a/test/web/ostatus/ostatus_test.exs +++ b/test/web/ostatus/ostatus_test.exs @@ -7,8 +7,8 @@ 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["object"]["id"] == "tag:gs.example.org:4040,2017-04-23:noticeId=29:objectType=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" assert "http://pleroma.example.org:4000/users/lain3" in activity.data["to"] |