X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/f3e9066b40546163f0df4678702ca4d7d31f9f84..5abc88f0d2ad3036dd526fbff5f0241f1d6480e1:/src/api/tests/res/responses/filter-books.json diff --git a/src/api/tests/res/responses/filter-books.json b/src/api/tests/res/responses/filter-books.json index db41287ea..49f3dea18 100644 --- a/src/api/tests/res/responses/filter-books.json +++ b/src/api/tests/res/responses/filter-books.json @@ -4,13 +4,15 @@ "full_sort_key": "$child$2", "cover_color": "#000000", "author": "", - "url": "https://example.com/katalog/lektura/child/", + "url": "http://testserver/katalog/lektura/child/", "has_audio": false, - "cover": "", + "title": "Child", + "cover": "", + "liked": null, "epoch": "", - "href": "https://example.com/api/books/child/", + "href": "http://testserver/api/books/child/", "key": "book$child", - "genre": "", + "genre": "Wiersz", "simple_thumb": "", "slug": "child", "cover_thumb": "" @@ -20,13 +22,15 @@ "full_sort_key": "$grandchild$3", "cover_color": "#000000", "author": "", - "url": "https://example.com/katalog/lektura/grandchild/", + "url": "http://testserver/katalog/lektura/grandchild/", "has_audio": false, - "cover": "", + "title": "Grandchild", + "cover": "", + "liked": null, "epoch": "", - "href": "https://example.com/api/books/grandchild/", + "href": "http://testserver/api/books/grandchild/", "key": "book$grandchild", - "genre": "", + "genre": "Sonet", "simple_thumb": "", "slug": "grandchild", "cover_thumb": "" @@ -36,15 +40,17 @@ "full_sort_key": "john doe$parent$1", "cover_color": "#a6820a", "author": "John Doe", - "url": "https://example.com/katalog/lektura/parent/", - "has_audio": false, - "cover": "cover/parent.jpg", + "url": "http://testserver/katalog/lektura/parent/", + "has_audio": true, + "title": "Parent", + "cover": "cover/parent.jpg", + "liked": null, "epoch": "Barok", - "href": "https://example.com/api/books/parent/", + "href": "http://testserver/api/books/parent/", "key": "book$parent", "genre": "Sonet", - "simple_thumb": "https://example.com/media/cover/parent_cover_api_thumb.jpg", + "simple_thumb": "http://testserver/media/cover_api_thumb/parent.jpg", "slug": "parent", - "cover_thumb": "https://example.com/media/cover/parent.jpg-139x193" + "cover_thumb": "cover_thumb/parent.jpg" } ]