add missing prismo testcase data
This commit is contained in:
parent
c5f26f3ce2
commit
1d9fcbf2ba
3 changed files with 71 additions and 49 deletions
111
test/fixtures/prismo-url-map.json
vendored
111
test/fixtures/prismo-url-map.json
vendored
|
|
@ -1,52 +1,65 @@
|
|||
{
|
||||
"id": "https://prismo.news/posts/83",
|
||||
"type": "Article",
|
||||
"name": "Introducing: Federated follows!",
|
||||
"published": "2018-11-01T07:10:05Z",
|
||||
"content": "We are more than thrilled to announce that Prismo now supports federated follows! It means you ca...",
|
||||
"url": {
|
||||
"type": "Link",
|
||||
"mimeType": "text/html",
|
||||
"href": "https://prismo.news/posts/83"
|
||||
},
|
||||
"votes": 12,
|
||||
"attributedTo": [
|
||||
{
|
||||
"type": "Person",
|
||||
"id": "https://prismo.news/@mxb"
|
||||
"id": "https://prismo.news/posts/83#Create",
|
||||
"type": "Create",
|
||||
"actor": [
|
||||
{
|
||||
"type": "Person",
|
||||
"id": "https://prismo.news/@mxb"
|
||||
}
|
||||
],
|
||||
"to": [
|
||||
"https://www.w3.org/ns/activitystreams#Public"
|
||||
],
|
||||
"object": {
|
||||
"id": "https://prismo.news/posts/83",
|
||||
"type": "Article",
|
||||
"name": "Introducing: Federated follows!",
|
||||
"published": "2018-11-01T07:10:05Z",
|
||||
"content": "We are more than thrilled to announce that Prismo now supports federated follows! It means you ca...",
|
||||
"url": {
|
||||
"type": "Link",
|
||||
"mimeType": "text/html",
|
||||
"href": "https://prismo.news/posts/83"
|
||||
},
|
||||
"votes": 12,
|
||||
"attributedTo": [
|
||||
{
|
||||
"type": "Person",
|
||||
"id": "https://prismo.news/@mxb"
|
||||
}
|
||||
],
|
||||
"to": [
|
||||
"https://www.w3.org/ns/activitystreams#Public"
|
||||
],
|
||||
"tags": [
|
||||
{
|
||||
"type": "Hashtag",
|
||||
"href": "https://prismo.news/tags/prismo",
|
||||
"name": "#prismo"
|
||||
},
|
||||
{
|
||||
"type": "Hashtag",
|
||||
"href": "https://prismo.news/tags/prismodev",
|
||||
"name": "#prismodev"
|
||||
},
|
||||
{
|
||||
"type": "Hashtag",
|
||||
"href": "https://prismo.news/tags/meta",
|
||||
"name": "#meta"
|
||||
}
|
||||
],
|
||||
"@context": [
|
||||
"https://www.w3.org/ns/activitystreams",
|
||||
"https://w3id.org/security/v1",
|
||||
{
|
||||
"Hashtag": "as:Hashtag"
|
||||
},
|
||||
{
|
||||
"votes": {
|
||||
"@id": "as:votes",
|
||||
"@type": "@id"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"to": [
|
||||
"https://www.w3.org/ns/activitystreams#Public"
|
||||
],
|
||||
"tags": [
|
||||
{
|
||||
"type": "Hashtag",
|
||||
"href": "https://prismo.news/tags/prismo",
|
||||
"name": "#prismo"
|
||||
},
|
||||
{
|
||||
"type": "Hashtag",
|
||||
"href": "https://prismo.news/tags/prismodev",
|
||||
"name": "#prismodev"
|
||||
},
|
||||
{
|
||||
"type": "Hashtag",
|
||||
"href": "https://prismo.news/tags/meta",
|
||||
"name": "#meta"
|
||||
}
|
||||
],
|
||||
"@context": [
|
||||
"https://www.w3.org/ns/activitystreams",
|
||||
"https://w3id.org/security/v1",
|
||||
{
|
||||
"Hashtag": "as:Hashtag"
|
||||
},
|
||||
{
|
||||
"votes": {
|
||||
"@id": "as:votes",
|
||||
"@type": "@id"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue