From 8b20d2dc6969702b23960cc418fbb8fb1160958f Mon Sep 17 00:00:00 2001 From: jayasanka-sack <33048395+jayasanka-sack@users.noreply.github.com> Date: Tue, 10 Dec 2024 14:09:57 +0800 Subject: [PATCH] Fix test failures --- .../module/emrapi/web/controller/VisitControllerTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/omod/src/test/java/org/openmrs/module/emrapi/web/controller/VisitControllerTest.java b/omod/src/test/java/org/openmrs/module/emrapi/web/controller/VisitControllerTest.java index 468f79b2..fc579590 100644 --- a/omod/src/test/java/org/openmrs/module/emrapi/web/controller/VisitControllerTest.java +++ b/omod/src/test/java/org/openmrs/module/emrapi/web/controller/VisitControllerTest.java @@ -96,9 +96,9 @@ public void shouldGetVisitsByPatientId() throws Exception { public void shouldGetVisitsByPatientIdWithPagination() throws Exception { String patientUuid = "8604d42e-3ca8-11e3-bf2b-0d0c09861e97"; - String mostRecentVisitUuid = "1c72e1ac-9b18-11e0-93c3-18a905e044dc"; + String mostRecentVisitUuid = "3c72f2bc-9b18-11e0-93c3-18a905e044ec"; - MvcResult response = mockMvc.perform(get("/rest/v1/emrapi/patient/" + patientUuid + "/visit") + MvcResult response = mockMvc.perform(get("/rest/v1/emrapi/patient/" + patientUuid+"/visitWithNotesAndDiagnoses") .param("startIndex", "0") .param("limit", "1") .contentType(MediaType.APPLICATION_JSON))