You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2017/10/05 11:37:25 UTC

[3/5] camel git commit: Polished test

Polished test


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/f8f60691
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/f8f60691
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/f8f60691

Branch: refs/heads/master
Commit: f8f606915e39ca61e1f039d27214dd180b12abe3
Parents: 44010a5
Author: Claus Ibsen <da...@apache.org>
Authored: Thu Oct 5 10:49:19 2017 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Thu Oct 5 13:37:17 2017 +0200

----------------------------------------------------------------------
 .../org/apache/camel/component/restlet/RestletProducerTest.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/f8f60691/components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestletProducerTest.java
----------------------------------------------------------------------
diff --git a/components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestletProducerTest.java b/components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestletProducerTest.java
index 4ea65b6..34ccd05 100644
--- a/components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestletProducerTest.java
+++ b/components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestletProducerTest.java
@@ -43,9 +43,9 @@ public class RestletProducerTest extends RestletTestSupport {
         return new RouteBuilder() {
             @Override
             public void configure() throws Exception {
-                from("direct:start").to("restlet:http://localhost:" + portNum + "/users/123/basic").to("log:reply");
+                from("direct:start").to("restlet:http://localhost:" + portNum + "/users/{id}/basic").to("log:reply");
                 
-                from("direct:delete").to("restlet:http://localhost:" + portNum + "/users/123/basic?restletMethod=DELETE");
+                from("direct:delete").to("restlet:http://localhost:" + portNum + "/users/{id}/basic?restletMethod=DELETE");
 
                 from("restlet:http://localhost:" + portNum + "/users/{id}/basic?restletMethods=GET,DELETE")
                     .process(new Processor() {