test: add mock resposes
This commit is contained in:
parent
0c25f2ae48
commit
83e7dfac46
5 changed files with 126 additions and 0 deletions
20
src/tests/ResponseMocks/WikipediaMockResponse.json
Normal file
20
src/tests/ResponseMocks/WikipediaMockResponse.json
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"query": {
|
||||
"searchinfo": {
|
||||
"totalhits": 1199001,
|
||||
"suggestion": "book",
|
||||
"suggestionsnippet": "book"
|
||||
},
|
||||
"search": [
|
||||
{
|
||||
"ns": 0,
|
||||
"title": "Book",
|
||||
"pageid": 3778,
|
||||
"size": 68829,
|
||||
"wordcount": 8821,
|
||||
"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",
|
||||
"timestamp": "2022-08-19T19:13:56Z"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue