Fixed test
diff --git a/components/camel-vertx-http/src/test/java/org/apache/camel/component/vertx/http/VertxHttpQueryStringTest.java b/components/camel-vertx-http/src/test/java/org/apache/camel/component/vertx/http/VertxHttpQueryStringTest.java
index 29111bb..887241f 100644
--- a/components/camel-vertx-http/src/test/java/org/apache/camel/component/vertx/http/VertxHttpQueryStringTest.java
+++ b/components/camel-vertx-http/src/test/java/org/apache/camel/component/vertx/http/VertxHttpQueryStringTest.java
@@ -28,13 +28,13 @@
@Test
public void testQueryStringPropertyPlaceholder() {
String result = template.requestBody(getProducerUri() + "?os={{sys:os.name}}", null, String.class);
- assertEquals("os=" + System.getProperty("os.name"), result);
+ assertEquals("os=" + System.getProperty("os.name"), result.replaceAll("%20", " "));
}
@Test
public void testQueryStringFromHttpUriHeader() {
String result = template.requestBody(getProducerUri() + "?os={{sys:os.name}}", null, String.class);
- assertEquals("os=" + System.getProperty("os.name"), result);
+ assertEquals("os=" + System.getProperty("os.name"), result.replaceAll("%20", " "));
}
@Test