From 9d2cceb71ba293cd920c407fc6da05ce9e94465e Mon Sep 17 00:00:00 2001 From: josephbate Date: Wed, 6 Nov 2024 18:59:28 +0300 Subject: [PATCH] discarded duplicated getdata test case --- .../patient/PatientServiceTest.java | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/test/java/org/openelisglobal/patient/PatientServiceTest.java b/src/test/java/org/openelisglobal/patient/PatientServiceTest.java index e0e4520d77..71ec856496 100644 --- a/src/test/java/org/openelisglobal/patient/PatientServiceTest.java +++ b/src/test/java/org/openelisglobal/patient/PatientServiceTest.java @@ -487,22 +487,6 @@ public void createPatient_shouldCreateNewPatient() throws Exception { Assert.assertEquals(gender, savedPatient.getGender()); } - @Test - public void getData_shouldCopyPropertiesFromDatabase() throws Exception { - String firstName = "John"; - String lastname = "Doe"; - String dob = "12/12/1992"; - String gender = "M"; - Patient patient = createPatient(firstName, lastname, dob, gender); - String patientId = patientService.insert(patient); - - Patient savedPatient = new Patient(); - savedPatient.setId(patientId); - patientService.getData(savedPatient); - - Assert.assertEquals(gender, savedPatient.getGender()); - } - @Test public void getData_shouldCopyPropertiesFromDatabaseById() throws Exception { String firstName = "John";