docs
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
> **Last Updated:** February 2026
|
||||
#MW|> **Last Updated:** March 2026
|
||||
> **Status:** Work in Progress
|
||||
|
||||
---
|
||||
@@ -259,9 +259,27 @@ go test -v -run "TestBooking" ./...
|
||||
- Test tokens use fixed secret: `test-secret-key-for-testing-only`
|
||||
- Fixtures auto-generate unique emails to avoid conflicts
|
||||
|
||||
### Recent Testing Updates (March 2026)
|
||||
|
||||
Since the February 2026 update, extensive testing has been conducted which uncovered and fixed several issues:
|
||||
|
||||
**Testing Improvements:**
|
||||
- Added comprehensive test suite for `notifications` handler (600+ lines)
|
||||
- Added new booking flow tests covering user booking creation
|
||||
- Added extensive test docstrings across all test files
|
||||
- Fixed test database setup and fixture issues
|
||||
|
||||
**Issues Discovered & Fixed Through Testing:**
|
||||
- **Edit Request Bugs**: Multiple issues in booking edit request handling:
|
||||
- Fixed validation for overlapping bookings during edits
|
||||
- Fixed edit request approval flow
|
||||
- Fixed edit request rejection handling
|
||||
- Fixed status transition logic for edit requests
|
||||
- **SQL Function Updates**: Refactored and optimized database functions in `init-script.sql`
|
||||
- **Test Infrastructure**: Fixed manual test corruption issues, improved test isolation
|
||||
|
||||
---
|
||||
|
||||
## Current Architecture
|
||||
|
||||
### Overview Diagram
|
||||
|
||||
|
||||
Reference in New Issue
Block a user