diff options
author | Mark Felder <feld@feld.me> | 2024-07-25 14:33:51 -0400 |
---|---|---|
committer | Mark Felder <feld@feld.me> | 2024-07-25 14:34:55 -0400 |
commit | a964368e31ddf8a22dd36bbf2aae51f7d91bbdaf (patch) | |
tree | b75298233be2d9efca60b03418624a3354ccd9de /test/fixtures/receiver_worker_signature_activity.json | |
parent | 1b9c887dbb8d87814f8d9cc11cfcbc8802348b22 (diff) | |
download | pleroma-a964368e31ddf8a22dd36bbf2aae51f7d91bbdaf.tar.gz pleroma-a964368e31ddf8a22dd36bbf2aae51f7d91bbdaf.zip |
Add test to fetch and validate an activity that originally failed signature
Diffstat (limited to 'test/fixtures/receiver_worker_signature_activity.json')
-rw-r--r-- | test/fixtures/receiver_worker_signature_activity.json | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/test/fixtures/receiver_worker_signature_activity.json b/test/fixtures/receiver_worker_signature_activity.json new file mode 100644 index 000000000..3c3fb3fd2 --- /dev/null +++ b/test/fixtures/receiver_worker_signature_activity.json @@ -0,0 +1,62 @@ +{ + "@context": [ + "https://www.w3.org/ns/activitystreams", + { + "atomUri": "ostatus:atomUri", + "blurhash": "toot:blurhash", + "conversation": "ostatus:conversation", + "focalPoint": { + "@container": "@list", + "@id": "toot:focalPoint" + }, + "inReplyToAtomUri": "ostatus:inReplyToAtomUri", + "ostatus": "http://ostatus.org#", + "sensitive": "as:sensitive", + "toot": "http://joinmastodon.org/ns#", + "votersCount": "toot:votersCount" + } + ], + "atomUri": "https://chaos.social/users/distantnative/statuses/109336635639931467", + "attachment": [ + { + "blurhash": "UAK1zS00OXIUxuMxIUM{?b-:-;W:Di?b%2M{", + "height": 960, + "mediaType": "image/jpeg", + "name": null, + "type": "Document", + "url": "https://assets.chaos.social/media_attachments/files/109/336/634/286/114/657/original/2e6122063d8bfb26.jpeg", + "width": 346 + } + ], + "attributedTo": "https://chaos.social/users/distantnative", + "cc": [ + "https://chaos.social/users/distantnative/followers" + ], + "content": "<p>Favorite piece of anthropology meta discourse.</p>", + "contentMap": { + "en": "<p>Favorite piece of anthropology meta discourse.</p>" + }, + "conversation": "tag:chaos.social,2022-11-13:objectId=71843781:objectType=Conversation", + "id": "https://chaos.social/users/distantnative/statuses/109336635639931467", + "inReplyTo": null, + "inReplyToAtomUri": null, + "published": "2022-11-13T13:04:20Z", + "replies": { + "first": { + "items": [], + "next": "https://chaos.social/users/distantnative/statuses/109336635639931467/replies?only_other_accounts=true&page=true", + "partOf": "https://chaos.social/users/distantnative/statuses/109336635639931467/replies", + "type": "CollectionPage" + }, + "id": "https://chaos.social/users/distantnative/statuses/109336635639931467/replies", + "type": "Collection" + }, + "sensitive": false, + "summary": null, + "tag": [], + "to": [ + "https://www.w3.org/ns/activitystreams#Public" + ], + "type": "Note", + "url": "https://chaos.social/@distantnative/109336635639931467" +} |