You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2009/10/22 16:05:45 UTC

svn commit: r828703 - /camel/trunk/components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestletProducerConcurrentTest.java

Author: janstey
Date: Thu Oct 22 14:05:45 2009
New Revision: 828703

URL: http://svn.apache.org/viewvc?rev=828703&view=rev
Log:
fix unit test failure

Modified:
    camel/trunk/components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestletProducerConcurrentTest.java

Modified: camel/trunk/components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestletProducerConcurrentTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestletProducerConcurrentTest.java?rev=828703&r1=828702&r2=828703&view=diff
==============================================================================
--- camel/trunk/components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestletProducerConcurrentTest.java (original)
+++ camel/trunk/components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestletProducerConcurrentTest.java Thu Oct 22 14:05:45 2009
@@ -62,7 +62,7 @@
                     headers.put("username", "davsclaus");
                     headers.put("id", index);
                     return template
-                        .requestBodyAndHeaders("restlet:http://localhost:9080/users/{username}/{id}?restletMethod=POST",
+                        .requestBodyAndHeaders("restlet:http://localhost:9080/users/davsclaus/" + index + "?restletMethod=POST",
                                                null, headers, String.class);
                 }
             });