fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update librarian API.
[wolnelektury.git]
/
src
/
api
/
tests
/
res
/
responses
/
books.json
diff --git
a/src/api/tests/res/responses/books.json
b/src/api/tests/res/responses/books.json
index
80414b5
..
4b8d11e
100644
(file)
--- a/
src/api/tests/res/responses/books.json
+++ b/
src/api/tests/res/responses/books.json
@@
-4,12
+4,13
@@
"full_sort_key": "$child$2",
"cover_color": "#000000",
"author": "",
"full_sort_key": "$child$2",
"cover_color": "#000000",
"author": "",
- "url": "http
s://example.com/katalog/lektura/child/",
+ "url": "http
://testserver/katalog/lektura/child/",
"has_audio": false,
"title": "Child",
"cover": "",
"has_audio": false,
"title": "Child",
"cover": "",
+ "liked": null,
"epoch": "",
"epoch": "",
- "href": "http
s://example.com/api/books/child/",
+ "href": "http
://testserver/api/books/child/",
"genre": "Wiersz",
"simple_thumb": "",
"slug": "child",
"genre": "Wiersz",
"simple_thumb": "",
"slug": "child",
@@
-20,12
+21,13
@@
"full_sort_key": "$grandchild$3",
"cover_color": "#000000",
"author": "",
"full_sort_key": "$grandchild$3",
"cover_color": "#000000",
"author": "",
- "url": "http
s://example.com/katalog/lektura/grandchild/",
+ "url": "http
://testserver/katalog/lektura/grandchild/",
"has_audio": false,
"title": "Grandchild",
"cover": "",
"has_audio": false,
"title": "Grandchild",
"cover": "",
+ "liked": null,
"epoch": "",
"epoch": "",
- "href": "http
s://example.com/api/books/grandchild/",
+ "href": "http
://testserver/api/books/grandchild/",
"genre": "Sonet",
"simple_thumb": "",
"slug": "grandchild",
"genre": "Sonet",
"simple_thumb": "",
"slug": "grandchild",
@@
-36,14
+38,15
@@
"full_sort_key": "john doe$parent$1",
"cover_color": "#a6820a",
"author": "John Doe",
"full_sort_key": "john doe$parent$1",
"cover_color": "#a6820a",
"author": "John Doe",
- "url": "http
s://example.com/katalog/lektura/parent/",
+ "url": "http
://testserver/katalog/lektura/parent/",
"has_audio": true,
"title": "Parent",
"cover": "cover/parent.jpg",
"has_audio": true,
"title": "Parent",
"cover": "cover/parent.jpg",
+ "liked": null,
"epoch": "Barok",
"epoch": "Barok",
- "href": "http
s://example.com/api/books/parent/",
+ "href": "http
://testserver/api/books/parent/",
"genre": "Sonet",
"genre": "Sonet",
- "simple_thumb": "http
s://example.com/media/cover_api_thumb/parent.jpg",
+ "simple_thumb": "http
://testserver/media/cover_api_thumb/parent.jpg",
"slug": "parent",
"cover_thumb": "cover_thumb/parent.jpg"
}
"slug": "parent",
"cover_thumb": "cover_thumb/parent.jpg"
}