diff --git a/backend/tests/integration/test_book.py b/backend/tests/integration/test_book.py index 71a5073..dc74263 100644 --- a/backend/tests/integration/test_book.py +++ b/backend/tests/integration/test_book.py @@ -327,7 +327,7 @@ async def test_update_reading_progress( # Update progress progress_data = { - "progress": 0.5, + "percentage": 0.5, } response = await populated_authenticated_client.post( @@ -343,7 +343,7 @@ async def test_update_reading_progress( assert response.status_code == 200 book = response.json() - assert book["progress"]["progress"] == 0.5 + assert book["progress"]["percentage"] == 0.5 async def test_create_multiple_books_from_directory(