mirror of
https://github.com/calibrain/shelfmark.git
synced 2026-10-06 07:14:39 +01:00
Download history refactor pt.2 (#703)
Two-phase download history: downloads are now recorded in the DB at queue time (not just at terminal time), eliminating the need to reconstruct metadata in the terminal hook and removing the `_is_graduated_request_download()` request-scan mess
This commit is contained in:
@@ -922,7 +922,7 @@ class TestRequestRoutes:
|
||||
fulfil_resp = client.post(f"/api/admin/requests/{request_id}/fulfil", json={})
|
||||
|
||||
assert fulfil_resp.status_code == 400
|
||||
assert "release_data is required to fulfil book-level requests" in fulfil_resp.json["error"]
|
||||
assert "release_data is required to fulfil requests" in fulfil_resp.json["error"]
|
||||
|
||||
def test_admin_fulfil_book_level_request_manual_approval(self, main_module, client):
|
||||
user = _create_user(main_module, prefix="reader")
|
||||
|
||||
Reference in New Issue
Block a user