Keep incoming Link tag

This commit is contained in:
tusooa 2023-07-12 14:08:24 -04:00
commit f8b01788eb
No known key found for this signature in database
GPG key ID: 42AEC43D48433C51
2 changed files with 20 additions and 1 deletions

View file

@ -157,5 +157,12 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidators.ArticleNotePageValidatorTest
assert cng.valid?
assert cng.changes.quoteUrl == "https://server.example/objects/123"
assert Enum.at(cng.changes.tag, 0).changes == %{
type: "Link",
mediaType: "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"",
href: "https://server.example/objects/123",
name: "RE: https://server.example/objects/123"
}
end
end