You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by cm...@apache.org on 2012/03/27 22:52:54 UTC

svn commit: r1306017 - /camel/branches/camel-2.8.x/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/cxfbean/CxfBeanTest.java

Author: cmueller
Date: Tue Mar 27 20:52:53 2012
New Revision: 1306017

URL: http://svn.apache.org/viewvc?rev=1306017&view=rev
Log:
CAMEL-5116: fixed broken unit test

Modified:
    camel/branches/camel-2.8.x/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/cxfbean/CxfBeanTest.java

Modified: camel/branches/camel-2.8.x/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/cxfbean/CxfBeanTest.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.8.x/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/cxfbean/CxfBeanTest.java?rev=1306017&r1=1306016&r2=1306017&view=diff
==============================================================================
--- camel/branches/camel-2.8.x/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/cxfbean/CxfBeanTest.java (original)
+++ camel/branches/camel-2.8.x/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/cxfbean/CxfBeanTest.java Tue Mar 27 20:52:53 2012
@@ -81,7 +81,7 @@ public class CxfBeanTest extends Abstrac
     public void testMessageHeadersAfterCxfBeanEndpoint() throws Exception {
         MockEndpoint endpoint = (MockEndpoint)camelContext.getEndpoint("mock:endpointA");
         endpoint.reset();
-        invokeRsService("http://localhost:" + PORT1 + "/customerservice/customers/123",
+        invokeRsService("http://localhost:9000/customerservice/customers/123",
             "{\"Customer\":{\"id\":123,\"name\":\"John\"}}");
         endpoint.expectedMessageCount(1);
         endpoint.expectedHeaderReceived("key", "customer");