6420 change test to use hamcrest
This commit is contained in:
parent
08a68b5477
commit
f8643f0308
|
@ -294,7 +294,7 @@ public class FhirSearchDaoR4Test extends BaseJpaR4Test {
|
|||
IBundleProvider searchResultBundle = myPatientDao.search(map, mySrd);
|
||||
List<String> resourceIdsFromSearchResult = searchResultBundle.getAllResourceIds();
|
||||
|
||||
assertThat(resourceIdsFromSearchResult).containsExactlyInAnyOrderElementsOf(expectedActivePatientIds);
|
||||
assertThat(resourceIdsFromSearchResult, containsInAnyOrder(expectedActivePatientIds));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
@ -328,7 +328,7 @@ public class FhirSearchDaoR4Test extends BaseJpaR4Test {
|
|||
IBundleProvider searchResultBundle = myPatientDao.search(map, mySrd);
|
||||
List<String> resourceIdsFromSearchResult = searchResultBundle.getAllResourceIds();
|
||||
|
||||
assertThat(resourceIdsFromSearchResult).containsExactlyInAnyOrderElementsOf(expectedActivePatientIds);
|
||||
assertThat(resourceIdsFromSearchResult, containsInAnyOrder(expectedActivePatientIds));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
@ -363,7 +363,7 @@ public class FhirSearchDaoR4Test extends BaseJpaR4Test {
|
|||
IBundleProvider searchResultBundle = myPatientDao.search(map, mySrd);
|
||||
List<String> resourceIdsFromSearchResult = searchResultBundle.getAllResourceIds();
|
||||
|
||||
assertThat(resourceIdsFromSearchResult).containsExactlyInAnyOrderElementsOf(expectedActivePatientIds);
|
||||
assertThat(resourceIdsFromSearchResult, containsInAnyOrder(expectedActivePatientIds));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue