Skip to content

Commit 7f20603

Browse files
committed
RCMR_IN030000UK07-related skeleton processing test fix
1 parent f0e1755 commit 7f20603

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gp2gp-translator/src/test/java/uk/nhs/adaptors/pss/translator/service/SkeletonProcessingServiceTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ void When_SkeletonAsWholeUk07Message_Expect_InboundMessagePayloadIsNewRCMRMessag
225225
inboundMessage.setEbXML(readInboundMessageEbXmlFromFile());
226226

227227
when(attachmentHandlerService.getAttachment(any(), any())).thenReturn(skeletonMessage.getBytes(StandardCharsets.UTF_8));
228-
when(xmlParseUtilService.getStringFromDocument(any())).thenReturn(readInboundMessagePayloadFromFile());
228+
when(xmlParseUtilService.getStringFromDocument(any())).thenReturn(skeletonMessage);
229229

230230
var newInboundMessage =
231231
skeletonProcessingService.updateInboundMessageWithSkeleton(attachmentLog, inboundMessage, CONVERSATION_ID);

0 commit comments

Comments
 (0)