From b155ca998bba5663e755930ec20eb1d8767003e8 Mon Sep 17 00:00:00 2001 From: jayasanka-sack <33048395+jayasanka-sack@users.noreply.github.com> Date: Mon, 16 Dec 2024 22:08:01 +0530 Subject: [PATCH] Fix tests --- .../openmrs/module/emrapi/web/controller/VisitController.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/omod/src/main/java/org/openmrs/module/emrapi/web/controller/VisitController.java b/omod/src/main/java/org/openmrs/module/emrapi/web/controller/VisitController.java index a9a7b91f..a2939450 100644 --- a/omod/src/main/java/org/openmrs/module/emrapi/web/controller/VisitController.java +++ b/omod/src/main/java/org/openmrs/module/emrapi/web/controller/VisitController.java @@ -35,8 +35,7 @@ public class VisitController extends BaseRestController { public ResponseEntity getVisitsWithDiagnosesByPatient( HttpServletRequest request, HttpServletResponse response, - @PathVariable("patientUuid") String patientUuid, - @RequestParam("patient") Patient patient) { + @PathVariable("patientUuid") String patientUuid) { RequestContext context = RestUtil.getRequestContext(request, response, Representation.DEFAULT); List visitsEntries;