X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/f3e9066b40546163f0df4678702ca4d7d31f9f84..HEAD:/src/api/tests/res/responses/ebooks.json diff --git a/src/api/tests/res/responses/ebooks.json b/src/api/tests/res/responses/ebooks.json index 70084ef6c..d01f1fa27 100644 --- a/src/api/tests/res/responses/ebooks.json +++ b/src/api/tests/res/responses/ebooks.json @@ -2,34 +2,37 @@ { "fb2": "", "mobi": "", + "title": "Child", "author": "", "cover": "", - "href": "https://example.com/api/books/child/", + "href": "http://testserver/api/books/child/", "pdf": "", "txt": "", "slug": "child", "epub": "" }, { - "fb2": "https://example.com/media/fb2/grandchild.fb2", - "mobi": "", + "fb2": "http://testserver/media/fb2/grandchild.fb2", + "mobi": "http://testserver/media/mobi/grandchild.mobi", + "title": "Grandchild", "author": "", "cover": "", - "href": "https://example.com/api/books/grandchild/", - "pdf": "", - "txt": "https://example.com/media/txt/grandchild.txt", + "href": "http://testserver/api/books/grandchild/", + "pdf": "http://testserver/media/pdf/grandchild.pdf", + "txt": "http://testserver/media/txt/grandchild.txt", "slug": "grandchild", - "epub": "" + "epub": "http://testserver/media/epub/grandchild.epub" }, { "fb2": "", - "mobi": "https://example.com/media/mobi/parent.mobi", + "mobi": "http://testserver/media/mobi/parent.mobi", + "title": "Parent", "author": "John Doe", "cover": "cover/parent.jpg", - "href": "https://example.com/api/books/parent/", - "pdf": "https://example.com/media/pdf/parent.pdf", + "href": "http://testserver/api/books/parent/", + "pdf": "http://testserver/media/pdf/parent.pdf", "txt": "", "slug": "parent", - "epub": "https://example.com/media/epub/parent.epub" + "epub": "http://testserver/media/epub/parent.epub" } ]