This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit f6a4dfd64cf94cefdf8b34b99a6b03ca923bf256
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Jul 31 05:23:47 2019 +0200

    CAMEL-13799: camel-cdi - Remove support for multiple camel context (not 
fully implemented and not recommended - 1 context per app/deployment is only 
supported). Removed @ContentName
---
 .../org/apache/camel/example/cdi/rest/servlet/CdiRestServletTest.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/examples/camel-example-cdi-rest-servlet/src/test/java/org/apache/camel/example/cdi/rest/servlet/CdiRestServletTest.java
 
b/examples/camel-example-cdi-rest-servlet/src/test/java/org/apache/camel/example/cdi/rest/servlet/CdiRestServletTest.java
index 09b62d1..7ef09f7 100644
--- 
a/examples/camel-example-cdi-rest-servlet/src/test/java/org/apache/camel/example/cdi/rest/servlet/CdiRestServletTest.java
+++ 
b/examples/camel-example-cdi-rest-servlet/src/test/java/org/apache/camel/example/cdi/rest/servlet/CdiRestServletTest.java
@@ -35,6 +35,7 @@ import org.junit.runner.RunWith;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.hamcrest.Matchers.equalTo;
 import static org.hamcrest.Matchers.is;
+import static org.hamcrest.Matchers.startsWith;
 
 @RunWith(Arquillian.class)
 public class CdiRestServletTest {
@@ -58,6 +59,6 @@ public class CdiRestServletTest {
     @RunAsClient
     public void testWithUriTemplate(@ArquillianResource URL url) throws 
Exception {
         assertThat(IOHelper.loadText(new URL(url, 
"camel/say/hello/Antonin").openStream()),
-            is(equalTo("Hello Antonin, I'm CamelContext(hello)!\n")));
+            is(startsWith("Hello Antonin")));
     }
 }
\ No newline at end of file

Reply via email to