fix build failure (#3639)

* fix build failure

* add missing cleanup
This commit is contained in:
JasonRoberts-smile 2022-05-24 12:24:08 -04:00 committed by GitHub
parent b9579313ef
commit 1c70e97087
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -65,6 +65,7 @@ public class PatientEverythingR4Test extends BaseResourceProviderR4Test {
myDaoConfig.setEverythingIncludesFetchPageSize(new DaoConfig().getEverythingIncludesFetchPageSize());
myDaoConfig.setSearchPreFetchThresholds(new DaoConfig().getSearchPreFetchThresholds());
myDaoConfig.setAllowExternalReferences(new DaoConfig().isAllowExternalReferences());
myDaoConfig.setAllowMultipleDelete(new DaoConfig().isAllowMultipleDelete());
}
@Override

View File

@ -34,6 +34,7 @@ public class ResourceProviderExpungeR4Test extends BaseResourceProviderR4Test {
@AfterEach
public void afterDisableExpunge() {
myDaoConfig.setExpungeEnabled(new DaoConfig().isExpungeEnabled());
myDaoConfig.setAllowMultipleDelete(new DaoConfig().isAllowMultipleDelete());
myDaoConfig.setEnforceReferentialIntegrityOnDelete(false);
}
@ -112,6 +113,7 @@ public class ResourceProviderExpungeR4Test extends BaseResourceProviderR4Test {
@BeforeEach
public void beforeEnableExpunge() {
myDaoConfig.setExpungeEnabled(true);
myDaoConfig.setAllowMultipleDelete(true);
}
private IFhirResourceDao<?> getDao(IIdType theId) {