summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authortusooa <tusooa@kazv.moe>2023-07-12 14:08:24 -0400
committertusooa <tusooa@kazv.moe>2023-09-13 19:19:44 -0400
commit479a6f11dbbba0c945c08883956ffab198f91688 (patch)
tree396d2c5e5c325c25f852688955623c77844309d7 /test
parente9cd004ba1b904d92b1c07446bbf03dc070cce6a (diff)
downloadpleroma-479a6f11dbbba0c945c08883956ffab198f91688.tar.gz
pleroma-479a6f11dbbba0c945c08883956ffab198f91688.zip
Keep incoming Link tag
Diffstat (limited to 'test')
-rw-r--r--test/pleroma/web/activity_pub/object_validators/article_note_page_validator_test.exs7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/pleroma/web/activity_pub/object_validators/article_note_page_validator_test.exs b/test/pleroma/web/activity_pub/object_validators/article_note_page_validator_test.exs
index 73141cac1..4703c3801 100644
--- a/test/pleroma/web/activity_pub/object_validators/article_note_page_validator_test.exs
+++ b/test/pleroma/web/activity_pub/object_validators/article_note_page_validator_test.exs
@@ -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