Skip to content

QA/rejection#158

Merged
dashaaaa21 merged 1 commit intodevelopfrom
Fix/reject
Mar 9, 2026
Merged

QA/rejection#158
dashaaaa21 merged 1 commit intodevelopfrom
Fix/reject

Conversation

@dashaaaa21
Copy link
Copy Markdown
Contributor

added test for rejection past

Copilot AI review requested due to automatic review settings March 9, 2026 11:01
@HackYourFutures HackYourFutures temporarily deployed to study-bridge-fix-reject-komfgf March 9, 2026 11:02 Inactive
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new test file for appointment rejection reason validation logic in the AppointmentService. It tests the behavior of updateAppointmentStatus when rejecting appointments, including validation of the rejection reason's presence and length constraints (100–500 characters), storage/retrieval of the rejection reason, and boundary edge cases.

Changes:

  • Added a comprehensive test suite (rejection.reason.test.ts) covering rejection reason validation, storage, retrieval, and boundary conditions for the AppointmentService.updateAppointmentStatus method.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@dashaaaa21 dashaaaa21 merged commit 194e29e into develop Mar 9, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants