Another test fix
This commit is contained in:
parent
4c064186a9
commit
2efef13528
|
@ -162,7 +162,6 @@ public class ConsentEventsDaoR4Test extends BaseJpaR4SystemTest {
|
||||||
assertEquals(myObservationIds, interceptedResourceIds);
|
assertEquals(myObservationIds, interceptedResourceIds);
|
||||||
|
|
||||||
// Fetch the next 30 (do cross a fetch boundary)
|
// Fetch the next 30 (do cross a fetch boundary)
|
||||||
outcome = myPagingProvider.retrieveResultList(mySrd, outcome.getUuid());
|
|
||||||
resources = outcome.getResources(10, 40);
|
resources = outcome.getResources(10, 40);
|
||||||
returnedIdValues = toUnqualifiedVersionlessIdValues(resources);
|
returnedIdValues = toUnqualifiedVersionlessIdValues(resources);
|
||||||
assertEquals(myObservationIdsEvenOnly.subList(10, 25), returnedIdValues);
|
assertEquals(myObservationIdsEvenOnly.subList(10, 25), returnedIdValues);
|
||||||
|
@ -187,7 +186,6 @@ public class ConsentEventsDaoR4Test extends BaseJpaR4SystemTest {
|
||||||
ourLog.info("Search UUID: {}", outcome.getUuid());
|
ourLog.info("Search UUID: {}", outcome.getUuid());
|
||||||
|
|
||||||
// Fetch the first 10 (don't cross a fetch boundary)
|
// Fetch the first 10 (don't cross a fetch boundary)
|
||||||
outcome = myPagingProvider.retrieveResultList(mySrd, outcome.getUuid());
|
|
||||||
List<IBaseResource> resources = outcome.getResources(0, 100);
|
List<IBaseResource> resources = outcome.getResources(0, 100);
|
||||||
List<String> returnedIdValues = toUnqualifiedVersionlessIdValues(resources);
|
List<String> returnedIdValues = toUnqualifiedVersionlessIdValues(resources);
|
||||||
assertEquals(sort(myPatientIdsEvenOnly, myObservationIdsEvenOnly), sort(returnedIdValues));
|
assertEquals(sort(myPatientIdsEvenOnly, myObservationIdsEvenOnly), sort(returnedIdValues));
|
||||||
|
@ -213,7 +211,6 @@ public class ConsentEventsDaoR4Test extends BaseJpaR4SystemTest {
|
||||||
ourLog.info("Search UUID: {}", outcome.getUuid());
|
ourLog.info("Search UUID: {}", outcome.getUuid());
|
||||||
|
|
||||||
// Fetch the first 10 (don't cross a fetch boundary)
|
// Fetch the first 10 (don't cross a fetch boundary)
|
||||||
outcome = myPagingProvider.retrieveResultList(mySrd, outcome.getUuid());
|
|
||||||
List<IBaseResource> resources = outcome.getResources(0, 100);
|
List<IBaseResource> resources = outcome.getResources(0, 100);
|
||||||
List<String> returnedIdValues = toUnqualifiedVersionlessIdValues(resources);
|
List<String> returnedIdValues = toUnqualifiedVersionlessIdValues(resources);
|
||||||
assertEquals(sort(myPatientIdsEvenOnly, myObservationIdsEvenOnly), sort(returnedIdValues));
|
assertEquals(sort(myPatientIdsEvenOnly, myObservationIdsEvenOnly), sort(returnedIdValues));
|
||||||
|
@ -237,7 +234,6 @@ public class ConsentEventsDaoR4Test extends BaseJpaR4SystemTest {
|
||||||
ourLog.info("Search UUID: {}", outcome.getUuid());
|
ourLog.info("Search UUID: {}", outcome.getUuid());
|
||||||
|
|
||||||
// Fetch the first 10 (don't cross a fetch boundary)
|
// Fetch the first 10 (don't cross a fetch boundary)
|
||||||
outcome = myPagingProvider.retrieveResultList(mySrd, outcome.getUuid());
|
|
||||||
List<IBaseResource> resources = outcome.getResources(0, 100);
|
List<IBaseResource> resources = outcome.getResources(0, 100);
|
||||||
List<String> returnedIdValues = toUnqualifiedVersionlessIdValues(resources);
|
List<String> returnedIdValues = toUnqualifiedVersionlessIdValues(resources);
|
||||||
assertEquals(sort(myPatientIdsEvenOnly, myObservationIdsEvenOnly), sort(returnedIdValues));
|
assertEquals(sort(myPatientIdsEvenOnly, myObservationIdsEvenOnly), sort(returnedIdValues));
|
||||||
|
@ -263,7 +259,6 @@ public class ConsentEventsDaoR4Test extends BaseJpaR4SystemTest {
|
||||||
ourLog.info("Search UUID: {}", outcome.getUuid());
|
ourLog.info("Search UUID: {}", outcome.getUuid());
|
||||||
|
|
||||||
// Fetch the first 10 (don't cross a fetch boundary)
|
// Fetch the first 10 (don't cross a fetch boundary)
|
||||||
outcome = myPagingProvider.retrieveResultList(mySrd, outcome.getUuid());
|
|
||||||
List<IBaseResource> resources = outcome.getResources(0, 100);
|
List<IBaseResource> resources = outcome.getResources(0, 100);
|
||||||
List<String> returnedIdValues = toUnqualifiedVersionlessIdValues(resources);
|
List<String> returnedIdValues = toUnqualifiedVersionlessIdValues(resources);
|
||||||
assertEquals(sort(myPatientIds, myObservationIds), sort(returnedIdValues));
|
assertEquals(sort(myPatientIds, myObservationIds), sort(returnedIdValues));
|
||||||
|
@ -288,7 +283,6 @@ public class ConsentEventsDaoR4Test extends BaseJpaR4SystemTest {
|
||||||
ourLog.info("Search UUID: {}", outcome.getUuid());
|
ourLog.info("Search UUID: {}", outcome.getUuid());
|
||||||
|
|
||||||
// Fetch the first 10 (don't cross a fetch boundary)
|
// Fetch the first 10 (don't cross a fetch boundary)
|
||||||
outcome = myPagingProvider.retrieveResultList(mySrd, outcome.getUuid());
|
|
||||||
List<IBaseResource> resources = outcome.getResources(0, 100);
|
List<IBaseResource> resources = outcome.getResources(0, 100);
|
||||||
List<String> returnedIdValues = toUnqualifiedVersionlessIdValues(resources);
|
List<String> returnedIdValues = toUnqualifiedVersionlessIdValues(resources);
|
||||||
assertEquals(sort(myPatientIdsEvenOnly, myObservationIdsEvenOnly), sort(returnedIdValues));
|
assertEquals(sort(myPatientIdsEvenOnly, myObservationIdsEvenOnly), sort(returnedIdValues));
|
||||||
|
|
Loading…
Reference in New Issue