From 37670ac03928e46947f2da7c2b4d3866bf11aa80 Mon Sep 17 00:00:00 2001 From: Ken Stevens Date: Sat, 2 Feb 2019 19:00:14 -0500 Subject: [PATCH] actually, we shouldn't be trying to match on deleted resources. Corrected assertion in test. --- .../standalone/StandaloneSubscriptionMessageHandlerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hapi-fhir-jpaserver-subscription/src/test/java/ca/uhn/fhir/jpa/subscription/module/standalone/StandaloneSubscriptionMessageHandlerTest.java b/hapi-fhir-jpaserver-subscription/src/test/java/ca/uhn/fhir/jpa/subscription/module/standalone/StandaloneSubscriptionMessageHandlerTest.java index 6377ed0b52c..31c859d1cb9 100644 --- a/hapi-fhir-jpaserver-subscription/src/test/java/ca/uhn/fhir/jpa/subscription/module/standalone/StandaloneSubscriptionMessageHandlerTest.java +++ b/hapi-fhir-jpaserver-subscription/src/test/java/ca/uhn/fhir/jpa/subscription/module/standalone/StandaloneSubscriptionMessageHandlerTest.java @@ -56,6 +56,6 @@ public class StandaloneSubscriptionMessageHandlerTest extends BaseSubscriptionDs myStandaloneSubscriptionMessageHandler.handleMessage(jsonMessage); Mockito.verify(mySubscriptionRegistry).unregisterSubscription(any()); Mockito.verify(mySubscriptionRegistry, never()).registerSubscriptionUnlessAlreadyRegistered(any()); - Mockito.verify(mySubscriptionMatchingSubscriber).matchActiveSubscriptionsAndDeliver(any()); + Mockito.verify(mySubscriptionMatchingSubscriber, never()).matchActiveSubscriptionsAndDeliver(any()); } }