fixing broken test.

This commit is contained in:
peartree 2024-07-05 15:02:10 -04:00
parent 05e2afc040
commit fd0ff7072c

View File

@ -232,6 +232,9 @@ class BaseHapiFhirResourceDaoTest {
entity.setId(123L);
entity.setFhirId("456");
// set a transactionService that will actually execute the callback
mySvc.setTransactionService(new MockHapiTransactionService());
// mock
when(myRequestPartitionHelperSvc.determineReadPartitionForRequestForRead(
any(RequestDetails.class),