apiPatchBook updates a book via the API
(t *testing.T, env testEnv, user database.User, uuid, payload, message string)
| 182 | |
| 183 | // apiPatchBook updates a book via the API |
| 184 | func apiPatchBook(t *testing.T, env testEnv, user database.User, uuid, payload, message string) { |
| 185 | doHTTPReq(t, env, "PATCH", fmt.Sprintf("/v3/books/%s", uuid), payload, message, user) |
| 186 | } |
| 187 | |
| 188 | // apiDeleteBook deletes a book via the API |
| 189 | func apiDeleteBook(t *testing.T, env testEnv, user database.User, uuid, message string) { |