diff options
| author | Mark Felder <feld@FreeBSD.org> | 2020-06-12 16:52:52 -0500 |
|---|---|---|
| committer | Mark Felder <feld@FreeBSD.org> | 2020-06-12 16:52:52 -0500 |
| commit | 26f710b9e36d286ee34dd679fdaf99e39d8c0bf2 (patch) | |
| tree | 168a4f0522a19d424aaaefa0c85e63139c8fead2 /test/fixtures | |
| parent | a42d135cce3e6326cd8a16f08f4ab83633386c2e (diff) | |
| parent | e2793744c5dced3ced98acb21a2ef2b13ab65ac9 (diff) | |
| download | pleroma-26f710b9e36d286ee34dd679fdaf99e39d8c0bf2.tar.gz pleroma-26f710b9e36d286ee34dd679fdaf99e39d8c0bf2.zip | |
Merge branch 'develop' into preload-data
Diffstat (limited to 'test/fixtures')
| -rw-r--r-- | test/fixtures/create-chat-message.json | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/test/fixtures/create-chat-message.json b/test/fixtures/create-chat-message.json new file mode 100644 index 000000000..9c23a1c9b --- /dev/null +++ b/test/fixtures/create-chat-message.json @@ -0,0 +1,31 @@ +{ + "actor": "http://2hu.gensokyo/users/raymoo", + "id": "http://2hu.gensokyo/objects/1", + "object": { + "attributedTo": "http://2hu.gensokyo/users/raymoo", + "content": "You expected a cute girl? Too bad. <script>alert('XSS')</script>", + "id": "http://2hu.gensokyo/objects/2", + "published": "2020-02-12T14:08:20Z", + "to": [ + "http://2hu.gensokyo/users/marisa" + ], + "tag": [ + { + "icon": { + "type": "Image", + "url": "http://2hu.gensokyo/emoji/Firefox.gif" + }, + "id": "http://2hu.gensokyo/emoji/Firefox.gif", + "name": ":firefox:", + "type": "Emoji", + "updated": "1970-01-01T00:00:00Z" + } + ], + "type": "ChatMessage" + }, + "published": "2018-02-12T14:08:20Z", + "to": [ + "http://2hu.gensokyo/users/marisa" + ], + "type": "Create" +} |
