diff options
author | lain <lain@soykaf.club> | 2018-02-19 10:39:03 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2018-02-19 10:39:03 +0100 |
commit | 6b6ab592ab18f8db68431e74a4ec4c785d394756 (patch) | |
tree | df0218ace967d86347f741592ab95a980978729f /test | |
parent | 6b32b9e3466016f457fd257e7cc18d85fa075a93 (diff) | |
download | pleroma-6b6ab592ab18f8db68431e74a4ec4c785d394756.tar.gz pleroma-6b6ab592ab18f8db68431e74a4ec4c785d394756.zip |
AP: Fix incoming conversations.
Diffstat (limited to 'test')
-rw-r--r-- | test/web/activity_pub/transmogrifier_test.exs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/web/activity_pub/transmogrifier_test.exs b/test/web/activity_pub/transmogrifier_test.exs index 08f8e8206..45e284157 100644 --- a/test/web/activity_pub/transmogrifier_test.exs +++ b/test/web/activity_pub/transmogrifier_test.exs @@ -33,6 +33,7 @@ defmodule Pleroma.Web.ActivityPub.TransmogrifierTest do ] assert object["actor"] == "http://mastodon.example.org/users/admin" assert object["attributedTo"] == "http://mastodon.example.org/users/admin" + assert object["context"] == "tag:mastodon.example.org,2018-02-12:objectId=20:objectType=Conversation" assert object["sensitive"] == true end @@ -111,6 +112,7 @@ defmodule Pleroma.Web.ActivityPub.TransmogrifierTest do "name" => "@#{other_user.nickname}", "type" => "Mention" } + expected_tag = %{ "href" => Pleroma.Web.Endpoint.url <> "/tags/2hu", "type" => "Hashtag", |