diff options
| author | FloatingGhost <hannah@coffee-and-dreams.uk> | 2022-07-01 11:44:45 +0100 | 
|---|---|---|
| committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2022-07-22 20:30:45 +0200 | 
| commit | 09e0304b9cfe9fb4365c0c6fafaffdb26defce10 (patch) | |
| tree | 4417ade03e2fd583578fd1b822ea9b742a75b017 /test/fixtures | |
| parent | be98900904c05b601e7bffe29a662906d291fb67 (diff) | |
| download | pleroma-09e0304b9cfe9fb4365c0c6fafaffdb26defce10.tar.gz pleroma-09e0304b9cfe9fb4365c0c6fafaffdb26defce10.zip | |
Add test for broken owncast federation
Diffstat (limited to 'test/fixtures')
| -rw-r--r-- | test/fixtures/owncast-note-with-attachment.json | 31 | 
1 files changed, 31 insertions, 0 deletions
| diff --git a/test/fixtures/owncast-note-with-attachment.json b/test/fixtures/owncast-note-with-attachment.json new file mode 100644 index 000000000..68cb6bbf7 --- /dev/null +++ b/test/fixtures/owncast-note-with-attachment.json @@ -0,0 +1,31 @@ +{ +  "attachment": { +    "content": "Live stream preview", +    "type": "Image", +    "url": "https://owncast.localhost.localdomain/preview.gif?us=KjfNX387gm" +  }, +  "attributedTo": "https://owncast.localhost.localdomain/federation/user/streamer", +  "audience": "https://www.w3.org/ns/activitystreams#Public", +  "content": "<p>I've gone live!</p><p></p><p><a class=\"hashtag\" href=\"https://directory.owncast.online/tags/owncast\">#owncast</a> <a class=\"hashtag\" href=\"https://directory.owncast.online/tags/streaming\">#streaming</a></p><a href=\"https://owncast.localhost.localdomain\">https://owncast.localhost.localdomain</a>", +  "id": "https://owncast.localhost.localdomain/federation/KjBNuq8ng", +  "published": "2022-04-17T15:42:03Z", +  "tag": [ +    { +      "href": "https://directory.owncast.online/tags/owncast", +      "name": "#owncast", +      "type": "Hashtag" +    }, +    { +      "href": "https://directory.owncast.online/tags/streaming", +      "name": "#streaming", +      "type": "Hashtag" +    }, +    { +      "href": "https://directory.owncast.online/tags/owncast", +      "name": "#owncast", +      "type": "Hashtag" +    } +  ], +  "to": "https://www.w3.org/ns/activitystreams#Public", +  "type": "Note" +} | 
