diff --git a/src/test/java/uk/nhs/prm/repo/ehrtransferservice/services/BrokerTest.java b/src/test/java/uk/nhs/prm/repo/ehrtransferservice/services/BrokerTest.java index 8824aeebe..28f1dcfe0 100644 --- a/src/test/java/uk/nhs/prm/repo/ehrtransferservice/services/BrokerTest.java +++ b/src/test/java/uk/nhs/prm/repo/ehrtransferservice/services/BrokerTest.java @@ -133,18 +133,19 @@ void shouldSendUnreckognizedMessagesToDlq() { verify(parsingDlqPublisher).sendMessage(any()); } - @Test - void shouldPublishMessageWithoutKnownConversationIdToEhrInUnhandledTopic() { - String messageBody = "ehr-request"; - UUID conversationId = UUID.randomUUID(); - var parsedMessage = getMockParsedMessageWithoutInteractionId(messageBody, conversationId); - - when(transferStore.isConversationIdPresent(conversationId.toString())).thenReturn(false); - - broker.sendMessageToEhrInOrUnhandled(parsedMessage); - - verify(ehrInUnhandledMessagePublisher).sendMessage("ehr-request", conversationId); - } + // TODO - Will be required when we revert back from PRMT-4201 + // @Test + // void shouldPublishMessageWithoutKnownConversationIdToEhrInUnhandledTopic() { + // String messageBody = "ehr-request"; + // UUID conversationId = UUID.randomUUID(); + // var parsedMessage = getMockParsedMessageWithoutInteractionId(messageBody, conversationId); + // + // when(transferStore.isConversationIdPresent(conversationId.toString())).thenReturn(false); + // + // broker.sendMessageToEhrInOrUnhandled(parsedMessage); + // + // verify(ehrInUnhandledMessagePublisher).sendMessage("ehr-request", conversationId); + // } @Test void shouldNotPublishMessageWithKnownConversationIdToEhrInUnhandledTopic() {