🔖 Title
Unit Tests for NotificationsService
📄 Description
Write comprehensive unit tests for the NotificationsService covering notification listing, filtering, and marking as read. Mock database operations. This issue can be completed independently once issues #60 and #61 are implemented.
Related to: Meta-issue #67
✅ Tasks to complete
📚 Documentation/context for AI
(This link never should removed)
https://github.com/TrustUp-app/TrustUp-API/tree/main/docs
Relevant documentation:
Dependencies:
🗒️ Additional notes
Acceptance Criteria:
- All test cases pass
- Code coverage for NotificationsService is at least 80%
- Database operations are properly mocked
- Filtering and pagination logic is validated
- Ownership validation is tested
- Edge cases (empty lists, invalid IDs) are covered
🔖 Title
Unit Tests for NotificationsService
📄 Description
Write comprehensive unit tests for the NotificationsService covering notification listing, filtering, and marking as read. Mock database operations. This issue can be completed independently once issues #60 and #61 are implemented.
Related to: Meta-issue #67
✅ Tasks to complete
📚 Documentation/context for AI
(This link never should removed)
https://github.com/TrustUp-app/TrustUp-API/tree/main/docs
Relevant documentation:
Dependencies:
🗒️ Additional notes
Acceptance Criteria: