From 2f3108c2b6546d37b4a4ddb56427ae68ee72a513 Mon Sep 17 00:00:00 2001 From: Nathan Doef Date: Tue, 7 Mar 2023 14:28:31 -0500 Subject: [PATCH] fix tests (#4631) --- .../uhn/fhir/jpa/dao/r4/FhirResourceDaoR4SearchDistanceTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hapi-fhir-jpaserver-test-r4/src/test/java/ca/uhn/fhir/jpa/dao/r4/FhirResourceDaoR4SearchDistanceTest.java b/hapi-fhir-jpaserver-test-r4/src/test/java/ca/uhn/fhir/jpa/dao/r4/FhirResourceDaoR4SearchDistanceTest.java index 746c107ce90..8bc81c7a5d9 100644 --- a/hapi-fhir-jpaserver-test-r4/src/test/java/ca/uhn/fhir/jpa/dao/r4/FhirResourceDaoR4SearchDistanceTest.java +++ b/hapi-fhir-jpaserver-test-r4/src/test/java/ca/uhn/fhir/jpa/dao/r4/FhirResourceDaoR4SearchDistanceTest.java @@ -79,6 +79,7 @@ public class FhirResourceDaoR4SearchDistanceTest extends BaseJpaR4Test { parameter.setType(Enumerations.SearchParamType.SPECIAL); parameter.setExpression("Location.address.postalCode"); mySearchParameterDao.update(parameter, new SystemRequestDetails()); + mySearchParamRegistry.forceRefresh(); //And given an OrganizationAffiliation->Location reference Location location = new Location();