You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2022/08/08 06:31:45 UTC
[camel] branch main updated: Regen for commit 1bf2c4904f8a6bf2820f93da72e600e9d6e304b9 (#8130)
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 25ac36beda2 Regen for commit 1bf2c4904f8a6bf2820f93da72e600e9d6e304b9 (#8130)
25ac36beda2 is described below
commit 25ac36beda26ec136d6c5d34abd269cb847297c1
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Mon Aug 8 08:31:40 2022 +0200
Regen for commit 1bf2c4904f8a6bf2820f93da72e600e9d6e304b9 (#8130)
Signed-off-by: GitHub <no...@github.com>
Co-authored-by: davsclaus <da...@users.noreply.github.com>
---
.../camel/component/freemarker/FreemarkerAttachmentsTest.java | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/components/camel-freemarker/src/test/java/org/apache/camel/component/freemarker/FreemarkerAttachmentsTest.java b/components/camel-freemarker/src/test/java/org/apache/camel/component/freemarker/FreemarkerAttachmentsTest.java
index 4f57c47c027..960265b7c72 100644
--- a/components/camel-freemarker/src/test/java/org/apache/camel/component/freemarker/FreemarkerAttachmentsTest.java
+++ b/components/camel-freemarker/src/test/java/org/apache/camel/component/freemarker/FreemarkerAttachmentsTest.java
@@ -16,6 +16,9 @@
*/
package org.apache.camel.component.freemarker;
+import javax.activation.DataHandler;
+import javax.activation.FileDataSource;
+
import org.apache.camel.Exchange;
import org.apache.camel.Processor;
import org.apache.camel.attachment.AttachmentMessage;
@@ -23,9 +26,6 @@ import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.test.junit5.CamelTestSupport;
import org.junit.jupiter.api.Test;
-import javax.activation.DataHandler;
-import javax.activation.FileDataSource;
-
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
@@ -51,7 +51,6 @@ public class FreemarkerAttachmentsTest extends CamelTestSupport {
assertEquals("Dear Christian. You ordered item 7 on Monday.", exchange.getMessage().getBody());
assertEquals("Christian", exchange.getMessage().getHeader("name"));
-
AttachmentMessage am = exchange.getMessage(AttachmentMessage.class);
assertNotNull(am);
assertEquals("123", am.getAttachmentNames().iterator().next());