From bdd3fd0d50c6fe985c1aa0c57f249710cdc15d72 Mon Sep 17 00:00:00 2001 From: souradeepsaha Date: Mon, 5 Jun 2023 12:24:27 -0400 Subject: [PATCH] Final changes --- .../uhn/fhir/rest/server/interceptor/ConsentInterceptorTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hapi-fhir-structures-r4/src/test/java/ca/uhn/fhir/rest/server/interceptor/ConsentInterceptorTest.java b/hapi-fhir-structures-r4/src/test/java/ca/uhn/fhir/rest/server/interceptor/ConsentInterceptorTest.java index 11cbdaf3239..4d131e3482c 100644 --- a/hapi-fhir-structures-r4/src/test/java/ca/uhn/fhir/rest/server/interceptor/ConsentInterceptorTest.java +++ b/hapi-fhir-structures-r4/src/test/java/ca/uhn/fhir/rest/server/interceptor/ConsentInterceptorTest.java @@ -223,6 +223,7 @@ public class ConsentInterceptorTest { patientA.addIdentifier().setSystem("SYSTEM").setValue("VALUEA"); ourPatientProvider.store(patientA); + when(myConsentSvc.willSeeResource(any(), any(), any())).thenReturn(ConsentOutcome.PROCEED); when(myConsentSvc.willSeeResource(any(), any(), any())).thenReturn(ConsentOutcome.FORBID); HttpGet httpGet = new HttpGet("http://localhost:" + myPort + "/Patient/PT-1-0");