Skip to content

Commit

Permalink
Renaming unit test committed during work on: Add junit test for
Browse files Browse the repository at this point in the history
searching on voided patient names - TRUNK-3257
  • Loading branch information
dkayiwa committed Jul 18, 2013
1 parent ed03fef commit 643358b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -284,7 +284,7 @@ public void getPatientIdentifierTypes_shouldReturnNonRetiredPatientIdentifierTyp
}

@Test
public void searchByPatientName_shouldNotMatchVoidedPersonNames(){
public void getPatients_shouldNotMatchVoidedPatients(){

This comment has been minimized.

Copy link
@dkayiwa

dkayiwa Nov 3, 2013

Author Member

If this is the test for cases when searching a voided name, then VoidedPatientNames is more appropriate.

List<PatientIdentifierType> identifierTypes = Collections.emptyList();
List<Patient> patients = dao.getPatients("Hornblower3", null, identifierTypes, false, 0, 11, false);
Assert.assertEquals(1, patients.size());
Expand Down

0 comments on commit 643358b

Please sign in to comment.