You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ff...@apache.org on 2023/10/20 15:05:58 UTC
[camel-spring-boot] 02/02: fix another camel-cxf broken test
This is an automated email from the ASF dual-hosted git repository.
ffang pushed a commit to branch camel-spring-boot-3.21.x
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
commit ea1db167ee6942b6df4ea3f0a22131ede58d8075
Author: Freeman Fang <fr...@gmail.com>
AuthorDate: Fri Oct 20 11:05:47 2023 -0400
fix another camel-cxf broken test
---
.../org/apache/camel/component/cxf/soap/springboot/ssl/SslTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components-starter/camel-cxf-soap-starter/src/test/java/org/apache/camel/component/cxf/soap/springboot/ssl/SslTest.java b/components-starter/camel-cxf-soap-starter/src/test/java/org/apache/camel/component/cxf/soap/springboot/ssl/SslTest.java
index c7d894d606f..97f422d4ea3 100644
--- a/components-starter/camel-cxf-soap-starter/src/test/java/org/apache/camel/component/cxf/soap/springboot/ssl/SslTest.java
+++ b/components-starter/camel-cxf-soap-starter/src/test/java/org/apache/camel/component/cxf/soap/springboot/ssl/SslTest.java
@@ -97,7 +97,7 @@ public class SslTest {
public void testInvokingNoTrustRoute() throws Exception {
Exchange reply = sendJaxWsMessage("direct:noTrust");
assertTrue(reply.isFailed(), "We expect the exception here");
- Throwable e = reply.getException().getCause();
+ Throwable e = reply.getException();
assertEquals("javax.net.ssl.SSLHandshakeException", e.getClass().getCanonicalName());
}