summaryrefslogtreecommitdiff
path: root/test/fixtures
diff options
context:
space:
mode:
authorHaelwenn <contact+git.pleroma.social@hacktivis.me>2021-03-23 09:27:03 +0000
committerHaelwenn <contact+git.pleroma.social@hacktivis.me>2021-03-23 09:27:03 +0000
commitc09844d3d250feccce08cf06d6f2f326daf897a7 (patch)
treee82f7305c6362dc41d0a3d6119759cc2d491b822 /test/fixtures
parent572363793f27895903a8c156fd614ec5c7493cd1 (diff)
parentd3660b24d37862bb58cf309c582cfe7432fd7bb6 (diff)
downloadpleroma-c09844d3d250feccce08cf06d6f2f326daf897a7.tar.gz
pleroma-c09844d3d250feccce08cf06d6f2f326daf897a7.zip
Merge branch 'fix/copy-emoji-summary' into 'develop'
Copy emoji in the subject from parent post See merge request pleroma/pleroma!3378
Diffstat (limited to 'test/fixtures')
-rw-r--r--test/fixtures/tesla_mock/emoji-in-summary.json49
1 files changed, 49 insertions, 0 deletions
diff --git a/test/fixtures/tesla_mock/emoji-in-summary.json b/test/fixtures/tesla_mock/emoji-in-summary.json
new file mode 100644
index 000000000..f77c6e2e8
--- /dev/null
+++ b/test/fixtures/tesla_mock/emoji-in-summary.json
@@ -0,0 +1,49 @@
+{
+ "@context": [
+ "https://www.w3.org/ns/activitystreams",
+ "https://patch.cx/schemas/litepub-0.1.jsonld",
+ {
+ "@language": "und"
+ }
+ ],
+ "actor": "https://patch.cx/users/rin",
+ "attachment": [],
+ "attributedTo": "https://patch.cx/users/rin",
+ "cc": [
+ "https://patch.cx/users/rin/followers"
+ ],
+ "content": ":joker_disapprove: <br><br>just grabbing a test fixture, nevermind me",
+ "context": "https://patch.cx/contexts/2c3ce4b4-18b1-4b1a-8965-3932027b5326",
+ "conversation": "https://patch.cx/contexts/2c3ce4b4-18b1-4b1a-8965-3932027b5326",
+ "id": "https://patch.cx/objects/a399c28e-c821-4820-bc3e-4afeb044c16f",
+ "published": "2021-03-22T16:54:46.461939Z",
+ "sensitive": null,
+ "source": ":joker_disapprove: \r\n\r\njust grabbing a test fixture, nevermind me",
+ "summary": ":joker_smile: ",
+ "tag": [
+ {
+ "icon": {
+ "type": "Image",
+ "url": "https://patch.cx/emoji/custom/joker_disapprove.png"
+ },
+ "id": "https://patch.cx/emoji/custom/joker_disapprove.png",
+ "name": ":joker_disapprove:",
+ "type": "Emoji",
+ "updated": "1970-01-01T00:00:00Z"
+ },
+ {
+ "icon": {
+ "type": "Image",
+ "url": "https://patch.cx/emoji/custom/joker_smile.png"
+ },
+ "id": "https://patch.cx/emoji/custom/joker_smile.png",
+ "name": ":joker_smile:",
+ "type": "Emoji",
+ "updated": "1970-01-01T00:00:00Z"
+ }
+ ],
+ "to": [
+ "https://www.w3.org/ns/activitystreams#Public"
+ ],
+ "type": "Note"
+}