Skip to content

Commit

Permalink
discarded duplicated getdata test case
Browse files Browse the repository at this point in the history
  • Loading branch information
josephbate committed Nov 6, 2024
1 parent 9b44bf1 commit 9d2cceb
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/test/java/org/openelisglobal/patient/PatientServiceTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 9d2cceb

Please sign in to comment.