Skip to content

Commit

Permalink
Reset cached GPs in base fhir integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
mseaton committed Dec 20, 2024
1 parent 4bd8690 commit 53aa3c2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
import org.hl7.fhir.instance.model.api.IBaseOperationOutcome;
import org.hl7.fhir.instance.model.api.IDomainResource;
import org.junit.Before;
import org.openmrs.module.fhir2.api.util.FhirGlobalPropertyHolder;
import org.openmrs.module.fhir2.web.servlet.FhirRestServlet;
import org.openmrs.web.test.BaseModuleWebContextSensitiveTest;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down Expand Up @@ -86,6 +87,7 @@ public abstract class BaseFhirIntegrationTest<T extends IResourceProvider, U ext

@Before
public void setup() throws Exception {
FhirGlobalPropertyHolder.reset();
jsonParser = getFhirContext().newJsonParser();
xmlParser = getFhirContext().newXmlParser();

Expand Down

0 comments on commit 53aa3c2

Please sign in to comment.