X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/94a3d5dc103e37b41a02b5c1c611621e91ba4b75..03715cba601c571ac35765daa5b6a97a004326cf:/src/api/tests/res/responses/books-grandchild.json diff --git a/src/api/tests/res/responses/books-grandchild.json b/src/api/tests/res/responses/books-grandchild.json index 5d407b823..6638317b0 100644 --- a/src/api/tests/res/responses/books-grandchild.json +++ b/src/api/tests/res/responses/books-grandchild.json @@ -4,35 +4,35 @@ "html": "Fragment", "title": "Parent, Child" }, - "txt": "https://example.com/katalog/pobierz/grandchild.txt", + "txt": "http://testserver/media/txt/grandchild.txt", "children": [], - "xml": "https://example.com/katalog/pobierz/grandchild.xml", + "xml": "http://testserver/media/xml/grandchild.xml", "genres": [ { - "url": "https://example.com/katalog/gatunek/sonet/", - "href": "https://example.com/api/genres/sonet/", + "url": "http://testserver/katalog/gatunek/sonet/", + "href": "http://testserver/api/genres/sonet/", "name": "Sonet", "slug": "sonet" } ], "title": "Grandchild", "media": [], - "html": "https://example.com/katalog/pobierz/grandchild.html", - "preview": true, - "fb2": "https://example.com/katalog/pobierz/grandchild.fb2", + "html": "http://testserver/media/html/grandchild.html", + "preview": false, + "fb2": "http://testserver/media/fb2/grandchild.fb2", "kinds": [], "parent": { "kind": "", "full_sort_key": "$child$2", "author": "", - "url": "https://example.com/katalog/lektura/child/", + "url": "http://testserver/katalog/lektura/child/", "cover_color": "#000000", "title": "Child", "cover": "", "liked": null, "slug": "child", "epoch": "", - "href": "https://example.com/api/books/child/", + "href": "http://testserver/api/books/child/", "genre": "Wiersz", "simple_thumb": "", "has_audio": false, @@ -42,11 +42,11 @@ "simple_cover": "", "authors": [], "audio_length": "", - "epub": "https://example.com/katalog/pobierz/grandchild.epub", + "epub": "http://testserver/media/epub/grandchild.epub", "cover_thumb": "", - "mobi": "https://example.com/katalog/pobierz/grandchild.mobi", - "url": "https://example.com/katalog/lektura/grandchild/", + "mobi": "http://testserver/media/mobi/grandchild.mobi", + "url": "http://testserver/katalog/lektura/grandchild/", "cover": "", - "pdf": "https://example.com/katalog/pobierz/grandchild.pdf", + "pdf": "http://testserver/media/pdf/grandchild.pdf", "simple_thumb": "" }