aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-06-08 16:44:12 +0200
committerRoger Braun <roger@rogerbraun.net>2017-06-08 16:44:12 +0200
commit6342fcd5dca2fc4c1241163a406ca78103082048 (patch)
treea05161571b69a6c654ff59ead1587eb3f580fc77 /test
parent25f9d7a5396b12e30e087346a09614ff2ceeb263 (diff)
downloadpleroma-6342fcd5dca2fc4c1241163a406ca78103082048.tar.gz
Save correct date for incoming notes.
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 e40fae78c..a49d95087 100644
--- a/test/web/ostatus/ostatus_test.exs
+++ b/test/web/ostatus/ostatus_test.exs
@@ -19,6 +19,7 @@ defmodule Pleroma.Web.OStatusTest do
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["object"]["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"]
assert activity.local == false