AP: Fix incoming conversations.
This commit is contained in:
parent
6b32b9e346
commit
6b6ab592ab
2 changed files with 10 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue