Update tests.
[wolnelektury.git] / src / api / tests / res / responses / books-grandchild.json
index 5d407b8..c58dde3 100644 (file)
@@ -4,35 +4,36 @@
         "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": [], 
+    "language": "pol",
     "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, 
     "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", 
-    "simple_thumb": ""
+    "pdf": "http://testserver/media/pdf/grandchild.pdf",
+    "simple_thumb": "",
+    "translators": [],
+    "isbn_epub": null,
+    "isbn_mobi": null,
+    "isbn_pdf": null
 }