upgrade
[wolnelektury.git] / src / api / tests / res / responses / ebooks.json
index 171c153..d01f1fa 100644 (file)
@@ -5,34 +5,34 @@
         "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"
     }
 ]