From 875b4058a6e8f550b16151c7100d939415db00b2 Mon Sep 17 00:00:00 2001 From: jayasanka-sack <33048395+jayasanka-sack@users.noreply.github.com> Date: Mon, 9 Dec 2024 18:58:04 +0800 Subject: [PATCH] Fix test failures --- .../java/org/openmrs/module/emrapi/db/VisitDAOTest.java | 2 +- api/src/test/resources/metadata/pastVisitSetup.xml | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/api/src/test/java/org/openmrs/module/emrapi/db/VisitDAOTest.java b/api/src/test/java/org/openmrs/module/emrapi/db/VisitDAOTest.java index ba65ca32..3ee39573 100644 --- a/api/src/test/java/org/openmrs/module/emrapi/db/VisitDAOTest.java +++ b/api/src/test/java/org/openmrs/module/emrapi/db/VisitDAOTest.java @@ -84,7 +84,7 @@ public void shouldFetchVisitsByPatientIdWithPagination() { assert visits.size() == 1; VisitWithDiagnoses mostRecentVisit = visits.get(0); - assert mostRecentVisit.getId() == 1015; + assert mostRecentVisit.getId() == 1017; } } diff --git a/api/src/test/resources/metadata/pastVisitSetup.xml b/api/src/test/resources/metadata/pastVisitSetup.xml index 3ed333d3..1aace64d 100644 --- a/api/src/test/resources/metadata/pastVisitSetup.xml +++ b/api/src/test/resources/metadata/pastVisitSetup.xml @@ -26,10 +26,4 @@ - - - - - -