summaryrefslogtreecommitdiff
path: root/test/fixtures
diff options
context:
space:
mode:
authorHaelwenn <contact+git.pleroma.social@hacktivis.me>2023-05-17 19:04:51 +0000
committerHaelwenn <contact+git.pleroma.social@hacktivis.me>2023-05-17 19:04:51 +0000
commit0524e66a05170519d22a9bfc096440664ed1cfee (patch)
treeae1ffc694b35fbb506d49e6d0f0160a630ad5f85 /test/fixtures
parentce1c0f75cdde09243ed0f6983d3dff3458386f24 (diff)
parent98b9c1bcb10a913c7c0c489ad2c99846f8257aa0 (diff)
downloadpleroma-0524e66a05170519d22a9bfc096440664ed1cfee.tar.gz
pleroma-0524e66a05170519d22a9bfc096440664ed1cfee.zip
Merge branch 'accept-tags-2.5' into 'develop'
TagValidator: Drop unrecognized Tag types Closes #2952 See merge request pleroma/pleroma!3823
Diffstat (limited to 'test/fixtures')
-rw-r--r--test/fixtures/fep-e232.json31
1 files changed, 31 insertions, 0 deletions
diff --git a/test/fixtures/fep-e232.json b/test/fixtures/fep-e232.json
new file mode 100644
index 000000000..e9d12ae35
--- /dev/null
+++ b/test/fixtures/fep-e232.json
@@ -0,0 +1,31 @@
+{
+ "@context": "https://www.w3.org/ns/activitystreams",
+ "type": "Create",
+ "actor": "https://example.org/users/alice",
+ "object": {
+ "id": "https://example.org/objects/10",
+ "type": "Note",
+ "attributedTo": "https://example.org/users/alice",
+ "content": "<p>test <a href=\"https://example.org/objects/9\">https://example.org/objects/9</a></p>",
+ "published": "2022-10-01T21:30:05.211215Z",
+ "tag": [
+ {
+ "name": "@bob@example.net",
+ "type": "Mention",
+ "href": "https://example.net/users/bob"
+ },
+ {
+ "name": "https://example.org/objects/9",
+ "type": "Link",
+ "href": "https://example.org/objects/9",
+ "mediaType": "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\""
+ }
+ ],
+ "to": [
+ "https://www.w3.org/ns/activitystreams#Public"
+ ],
+ "cc": [
+ "https://example.org/users/alice/followers"
+ ]
+ }
+}