[#1505] Improved replies-handling tests: updated Mastodon message fixture, used exact Pleroma federation message.
This commit is contained in:
parent
24e49d14f2
commit
b95dd5e217
2 changed files with 43 additions and 29 deletions
13
test/fixtures/mastodon-post-activity.json
vendored
13
test/fixtures/mastodon-post-activity.json
vendored
|
|
@ -35,6 +35,19 @@
|
|||
"inReplyTo": null,
|
||||
"inReplyToAtomUri": null,
|
||||
"published": "2018-02-12T14:08:20Z",
|
||||
"replies": {
|
||||
"id": "http://mastodon.example.org/users/admin/statuses/99512778738411822/replies",
|
||||
"type": "Collection",
|
||||
"first": {
|
||||
"type": "CollectionPage",
|
||||
"next": "http://mastodon.example.org/users/admin/statuses/99512778738411822/replies?min_id=99512778738411824&page=true",
|
||||
"partOf": "http://mastodon.example.org/users/admin/statuses/99512778738411822/replies",
|
||||
"items": [
|
||||
"http://mastodon.example.org/users/admin/statuses/99512778738411823",
|
||||
"http://mastodon.example.org/users/admin/statuses/99512778738411824"
|
||||
]
|
||||
}
|
||||
},
|
||||
"sensitive": true,
|
||||
"summary": "cw",
|
||||
"tag": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue