summaryrefslogtreecommitdiff
path: root/test/fixtures
diff options
context:
space:
mode:
authorsilverpill <silverpill@firemail.cc>2022-12-29 23:57:19 +0000
committersilverpill <silverpill@firemail.cc>2022-12-30 20:55:02 +0000
commit45646ff52cd045485c6be92713edcd0b37225bc3 (patch)
tree386fd2dce66d0c064132add8a4717031635cb414 /test/fixtures
parentc7dc5ce85c5b143df45031d5c87eee0689da3713 (diff)
downloadpleroma-45646ff52cd045485c6be92713edcd0b37225bc3.tar.gz
pleroma-45646ff52cd045485c6be92713edcd0b37225bc3.zip
TagValidator: Add test for Link tag
Diffstat (limited to 'test/fixtures')
-rw-r--r--test/fixtures/fep-e232.json26
1 files changed, 26 insertions, 0 deletions
diff --git a/test/fixtures/fep-e232.json b/test/fixtures/fep-e232.json
new file mode 100644
index 000000000..98f339589
--- /dev/null
+++ b/test/fixtures/fep-e232.json
@@ -0,0 +1,26 @@
+{
+ "@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": "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"
+ ]
+ }
+}