diff --git a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/BaseJpaTest.java b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/BaseJpaTest.java index 0528c8d806e..556ff29c3ed 100644 --- a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/BaseJpaTest.java +++ b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/BaseJpaTest.java @@ -331,7 +331,6 @@ public abstract class BaseJpaTest { theSystemDao.expunge(new ExpungeOptions().setExpungeEverything(true)); theDaoConfig.setExpungeEnabled(expungeEnabled); - theSearchParamPresenceSvc.flushCachesForUnitTest(); theSearchParamRegistry.forceRefresh(); } diff --git a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/r4/BaseJpaR4Test.java b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/r4/BaseJpaR4Test.java index 1bc7ea4e61b..2fe5f229028 100644 --- a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/r4/BaseJpaR4Test.java +++ b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/r4/BaseJpaR4Test.java @@ -66,8 +66,6 @@ public abstract class BaseJpaR4Test extends BaseJpaTest { @Autowired protected IResourceLinkDao myResourceLinkDao; @Autowired - protected ISearchParamDao mySearchParamDao; - @Autowired protected ISearchParamPresentDao mySearchParamPresentDao; @Autowired protected IResourceIndexedSearchParamStringDao myResourceIndexedSearchParamStringDao; diff --git a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/r4/FhirResourceDaoR4SearchMissingTest.java b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/r4/FhirResourceDaoR4SearchMissingTest.java index 43cc2eae363..ea95aa93052 100644 --- a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/r4/FhirResourceDaoR4SearchMissingTest.java +++ b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/r4/FhirResourceDaoR4SearchMissingTest.java @@ -46,7 +46,6 @@ public class FhirResourceDaoR4SearchMissingTest extends BaseJpaR4Test { org.setActive(true); myOrganizationDao.create(org, mySrd).getId().toUnqualifiedVersionless(); - assertThat(mySearchParamDao.findAll(), empty()); assertThat(mySearchParamPresentDao.findAll(), empty()); assertThat(myResourceIndexedSearchParamStringDao.findAll(), empty()); assertThat(myResourceIndexedSearchParamDateDao.findAll(), empty());