diff options
author | William Pitcock <nenolod@dereferenced.org> | 2018-11-25 22:49:39 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-12-04 04:52:09 +0000 |
commit | f7e15d3257c0428ba9d37bdbbd45aa5fe6829a1b (patch) | |
tree | a2d35da50d53d97239e6e702e2988fc03046ba84 /test/web/ostatus/ostatus_test.exs | |
parent | 4ca4c83871a6026ba0e4eb148e99b352edbadb5b (diff) | |
download | pleroma-f7e15d3257c0428ba9d37bdbbd45aa5fe6829a1b.tar.gz pleroma-f7e15d3257c0428ba9d37bdbbd45aa5fe6829a1b.zip |
tests: fix a lot of the remaining test failures
Diffstat (limited to 'test/web/ostatus/ostatus_test.exs')
-rw-r--r-- | test/web/ostatus/ostatus_test.exs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/web/ostatus/ostatus_test.exs b/test/web/ostatus/ostatus_test.exs index 73e2b5482..b5805c668 100644 --- a/test/web/ostatus/ostatus_test.exs +++ b/test/web/ostatus/ostatus_test.exs @@ -22,8 +22,7 @@ defmodule Pleroma.Web.OStatusTest do assert activity.data["type"] == "Create" assert object.data["type"] == "Note" - assert object.data["id"] == - "tag:gs.example.org:4040,2017-04-23:noticeId=29:objectType=note" + assert object.data["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 object.data["published"] == "2017-04-23T14:51:03+00:00" @@ -268,8 +267,7 @@ defmodule Pleroma.Web.OStatusTest do assert "http://pleroma.example.org:4000/users/lain5" in activity.data["to"] - assert object.data["id"] == - "tag:gs.example.org:4040,2017-04-25:noticeId=55:objectType=note" + assert object.data["id"] == "tag:gs.example.org:4040,2017-04-25:noticeId=55:objectType=note" assert "https://www.w3.org/ns/activitystreams#Public" in activity.data["to"] end |