diff options
author | William Pitcock <nenolod@dereferenced.org> | 2018-05-25 12:51:04 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-05-25 12:53:12 +0000 |
commit | 7cf3cf77cfffd1e1f6187d7a3485bf2a5d18ca00 (patch) | |
tree | 1a5cc2d9894ec1effea206b568eaae858101a98a /test/fixtures/mastodon-reject-activity.json | |
parent | f35e6bf75bf81496a5c7192780d9db62ba6b42a9 (diff) | |
download | pleroma-7cf3cf77cfffd1e1f6187d7a3485bf2a5d18ca00.tar.gz pleroma-7cf3cf77cfffd1e1f6187d7a3485bf2a5d18ca00.zip |
activitypub transmogrifier: cleanups and tests for incoming accepts/rejects
Diffstat (limited to 'test/fixtures/mastodon-reject-activity.json')
-rw-r--r-- | test/fixtures/mastodon-reject-activity.json | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/test/fixtures/mastodon-reject-activity.json b/test/fixtures/mastodon-reject-activity.json new file mode 100644 index 000000000..9559d6c73 --- /dev/null +++ b/test/fixtures/mastodon-reject-activity.json @@ -0,0 +1,34 @@ +{ + "type": "Reject", + "signature": { + "type": "RsaSignature2017", + "signatureValue": "rBzK4Kqhd4g7HDS8WE5oRbWQb2R+HF/6awbUuMWhgru/xCODT0SJWSri0qWqEO4fPcpoUyz2d25cw6o+iy9wiozQb3hQNnu69AR+H5Mytc06+g10KCHexbGhbAEAw/7IzmeXELHUbaqeduaDIbdt1zw4RkwLXdqgQcGXTJ6ND1wM3WMHXQCK1m0flasIXFoBxpliPAGiElV8s0+Ltuh562GvflG3kB3WO+j+NaR0ZfG5G9N88xMj9UQlCKit5gpAE5p6syUsCU2WGBHywTumv73i3OVTIFfq+P9AdMsRuzw1r7zoKEsthW4aOzLQDi01ZjvdBz8zH6JnjDU7SMN/Ig==", + "creator": "http://mastodon.example.org/users/admin#main-key", + "created": "2018-02-17T14:36:41Z" + }, + "object": { + "type": "Follow", + "object": "http://mastodon.example.org/users/admin", + "id": "http://localtesting.pleroma.lol/users/lain#follows/4", + "actor": "http://localtesting.pleroma.lol/users/lain" + }, + "nickname": "lain", + "id": "http://mastodon.example.org/users/admin#rejects/follows/4", + "actor": "http://mastodon.example.org/users/admin", + "@context": [ + "https://www.w3.org/ns/activitystreams", + "https://w3id.org/security/v1", + { + "toot": "http://joinmastodon.org/ns#", + "sensitive": "as:sensitive", + "ostatus": "http://ostatus.org#", + "movedTo": "as:movedTo", + "manuallyApprovesFollowers": "as:manuallyApprovesFollowers", + "inReplyToAtomUri": "ostatus:inReplyToAtomUri", + "conversation": "ostatus:conversation", + "atomUri": "ostatus:atomUri", + "Hashtag": "as:Hashtag", + "Emoji": "toot:Emoji" + } + ] +} |