6420 change test to use hamcrest

This commit is contained in:
jdar 2024-08-22 01:38:03 -07:00
parent 08a68b5477
commit f8643f0308
1 changed files with 3 additions and 3 deletions

View File

@ -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));
}
}