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 5991aa68e6d3 chore: camel-ai-resource - fix AiResourceExecutorTest for
a List body with a binary mimeType (#29130)
5991aa68e6d3 is described below
commit 5991aa68e6d341f4c7cf405d2ea898dc7ef14819
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Nov 4 09:15:40 2026 +0100
chore: camel-ai-resource - fix AiResourceExecutorTest for a List body with
a binary mimeType (#29130)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
.../org/apache/camel/component/ai/resource/AiResourceExecutorTest.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
a/components/camel-ai/camel-ai-resource/src/test/java/org/apache/camel/component/ai/resource/AiResourceExecutorTest.java
b/components/camel-ai/camel-ai-resource/src/test/java/org/apache/camel/component/ai/resource/AiResourceExecutorTest.java
index efa55f6dfb0d..6594e3e2d4ba 100644
---
a/components/camel-ai/camel-ai-resource/src/test/java/org/apache/camel/component/ai/resource/AiResourceExecutorTest.java
+++
b/components/camel-ai/camel-ai-resource/src/test/java/org/apache/camel/component/ai/resource/AiResourceExecutorTest.java
@@ -21,7 +21,6 @@ import java.util.List;
import java.util.Map;
import org.apache.camel.Exchange;
-import org.apache.camel.TypeConversionException;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.support.DefaultExchange;
import org.apache.camel.test.junit6.CamelTestSupport;
@@ -119,7 +118,7 @@ public class AiResourceExecutorTest extends
CamelTestSupport {
+ " (declared mimeType is application/octet-stream)";
assertThat(error.message()).isEqualTo(expected);
assertThat(error.cause()).isInstanceOf(IllegalStateException.class)
- .hasCauseInstanceOf(TypeConversionException.class);
+ .hasNoCause();
}
@Test