Skip to content

Add tests for PatientService

Georgios Andreadis requested to merge 38-test-patient-service into development

What does this mr do?

While I was at it, I fixed two issues in the delete method: First, area-patient relationships were being incorrectly updated. It's mapped by the ManyTo_One_ side, so the array of patients on the area side did not need to be updated. Second, I added a delete for the claimed time slots of the patient, since those objects are no longer valid if there is no matching patient.

Closes #38 (closed)

Does this MR meet the acceptance criteria?

  • I have added a changelog entry to reflect the significant changes I made.
  • Tests were created to test the feature.
  • I have updated the documentation accordingly.
  • I adhere to the style guide.

Merge request reports