Skip to content

Commit 83e7dfa

Browse files
committed
test: add mock resposes
1 parent 0c25f2a commit 83e7dfa

File tree

5 files changed

+126
-0
lines changed

5 files changed

+126
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"data": [
3+
{
4+
"mal_id": 2890,
5+
"url": "https://myanimelist.net/anime/2890/Gake_no_Ue_no_Ponyo",
6+
"title": "Gake no Ue no Ponyo",
7+
"title_english": "Ponyo",
8+
"type": "Movie",
9+
"source": "Original",
10+
"episodes": 1,
11+
"aired": {
12+
"from": "2008-07-19T00:00:00+00:00",
13+
"to": null,
14+
"prop": {
15+
"from": {
16+
"day": 19,
17+
"month": 7,
18+
"year": 2008
19+
},
20+
"to": {
21+
"day": null,
22+
"month": null,
23+
"year": null
24+
}
25+
},
26+
"string": "Jul 19, 2008"
27+
}
28+
}
29+
]
30+
}
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"created": "2022-09-16T13:51:15.522Z",
3+
"count": 921,
4+
"offset": 0,
5+
"release-groups": [
6+
{
7+
"id": "9cf08bf9-1948-4087-abe1-783210ea1fae",
8+
"type-id": "f529b476-6e62-324f-b0aa-1f3e33d313fc",
9+
"score": 100,
10+
"primary-type-id": "f529b476-6e62-324f-b0aa-1f3e33d313fc",
11+
"count": 1,
12+
"title": "Halo Halo",
13+
"first-release-date": "2013-07-08",
14+
"primary-type": "Album",
15+
"artist-credit": [
16+
{
17+
"name": "Halo Halo",
18+
"artist": {
19+
"id": "177d61ad-7e38-4bb5-a53c-8dd4e4ab9566",
20+
"name": "Halo Halo",
21+
"sort-name": "Halo Halo"
22+
}
23+
}
24+
],
25+
"releases": [
26+
{
27+
"id": "58dd1d57-2201-472e-9e36-5d497dcedb6f",
28+
"status-id": "4e304316-386d-3409-af2e-78857eec5cfe",
29+
"title": "Halo Halo",
30+
"status": "Official"
31+
}
32+
],
33+
"tags": [
34+
{
35+
"count": 1,
36+
"name": "dance"
37+
},
38+
{
39+
"count": 1,
40+
"name": "pop"
41+
},
42+
{
43+
"count": 1,
44+
"name": "punk"
45+
}
46+
]
47+
}
48+
]
49+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"Search": [
3+
{
4+
"Title": "Guardians of the Galaxy",
5+
"Year": "2014",
6+
"imdbID": "tt2015381",
7+
"Type": "movie",
8+
"Poster": "https://m.media-amazon.com/images/M/MV5BMTAwMjU5OTgxNjZeQTJeQWpwZ15BbWU4MDUxNDYxODEx._V1_SX300.jpg"
9+
}
10+
],
11+
"totalResults": "1",
12+
"Response": "True"
13+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"applist": {
3+
"apps": [
4+
{
5+
"appid": 2076590,
6+
"name": "Hooking Season Playtest"
7+
},
8+
{
9+
"appid": 2076600,
10+
"name": "MonsterTamer"
11+
}
12+
]
13+
}
14+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"query": {
3+
"searchinfo": {
4+
"totalhits": 1199001,
5+
"suggestion": "book",
6+
"suggestionsnippet": "book"
7+
},
8+
"search": [
9+
{
10+
"ns": 0,
11+
"title": "Book",
12+
"pageid": 3778,
13+
"size": 68829,
14+
"wordcount": 8821,
15+
"snippet": "called <span class=\"searchmatch\">books</span> or chapters or parts, are parts. The intellectual content in a physical book need not be a composition, nor even be called a book. <span class=\"searchmatch\">Books</span> can",
16+
"timestamp": "2022-08-19T19:13:56Z"
17+
}
18+
]
19+
}
20+
}

0 commit comments

Comments
 (0)