Fix test assertion for updated error message

- Updated test to match new descriptive error message format
- Changed from 'not within available' to 'not within any available time ranges'
- All tests now passing
This commit is contained in:
counterweight 2025-12-21 18:06:50 +01:00
parent b9f605d7b3
commit 46c3c2073a
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C

View file

@ -299,7 +299,7 @@ class TestCreateBooking:
)
assert response.status_code == 400
assert "not within available" in response.json()["detail"]
assert "not within any available time ranges" in response.json()["detail"]
# =============================================================================