arbret/backend/tests
counterweight 63cf46c230
Fix: Prevent cancellation of past appointments
Add check to both user and admin cancel endpoints to reject
cancellation of appointments whose slot_start is in the past.
This matches the spec requirement that cancellations can only
happen 'before the appointment'.

Added tests for both user and admin cancel endpoints.

Also includes frontend styling updates.
2025-12-21 17:27:23 +01:00
..
__init__.py with some tests 2025-12-18 21:48:41 +01:00
conftest.py Phase 3: Appointment model & booking API with timezone fix 2025-12-21 00:03:34 +01:00
helpers.py first round of review 2025-12-20 11:43:32 +01:00
test_auth.py first round of review 2025-12-20 11:43:32 +01:00
test_availability.py Phase 1: Add Availability model and API 2025-12-20 23:36:11 +01:00
test_booking.py Fix: Prevent cancellation of past appointments 2025-12-21 17:27:23 +01:00
test_counter.py first round of review 2025-12-20 11:43:32 +01:00
test_invites.py first implementation 2025-12-20 22:18:14 +01:00
test_permissions.py first round of review 2025-12-20 11:43:32 +01:00
test_profile.py first implementation 2025-12-20 11:12:11 +01:00
test_validation.py first round of review 2025-12-19 10:30:23 +01:00