diff --git a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/subscription/r4/RestHookActivatesPreExistingSubscriptionsR4Test.java b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/subscription/r4/RestHookActivatesPreExistingSubscriptionsR4Test.java index a59744903d7..ad9eaacd2d4 100644 --- a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/subscription/r4/RestHookActivatesPreExistingSubscriptionsR4Test.java +++ b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/subscription/r4/RestHookActivatesPreExistingSubscriptionsR4Test.java @@ -105,6 +105,7 @@ public class RestHookActivatesPreExistingSubscriptionsR4Test extends BaseResourc assertFalse(hasRestHookSubscriptionInterceptor()); ourRestServer.registerInterceptor(getRestHookSubscriptionInterceptor()); + getRestHookSubscriptionInterceptor().initSubscriptions(); assertTrue(hasRestHookSubscriptionInterceptor());