aldettinger commented on a change in pull request #3970: URL: https://github.com/apache/camel/pull/3970#discussion_r449423264
########## File path: components/camel-mail/src/test/java/org/apache/camel/dataformat/mime/multipart/MimeMultipartDataFormatTest.java ########## @@ -261,9 +257,10 @@ public void marhsalOnlyMixed() throws IOException { headers.put("X-AdditionalData", "additional data"); addAttachment("application/octet-stream", "foobar", "attachment.bin", headers); Exchange result = template.send("direct:marshalonlymixed", exchange); - assertThat(result.getOut().getHeader("Content-Type", String.class), startsWith("multipart/mixed")); - String resultBody = result.getOut().getBody(String.class); - assertThat(resultBody, containsString("Content-Description: Sample Attachment Data")); + assertTrue(result.getMessage().getHeader("Content-Type", String.class).startsWith("multipart/mixed")); + //assertThat(result.getMessage().getHeader("Content-Type", String.class), startsWith("multipart/mixed")); Review comment: Well done @zbendhiba, it's rebased and pushed upstream now :) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org