Fixed test

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

Branch: refs/heads/master
Commit: 9d0c661438cf378aeca527f48dad59187b551e19
Parents: c8ca2d3
Author: Claus Ibsen <davscl...@apache.org>
Authored: Sat Aug 20 11:25:08 2016 +0200
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Sat Aug 20 11:25:08 2016 +0200

----------------------------------------------------------------------
 .../apache/camel/dataformat/xstream/XStreamConfigurationTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/9d0c6614/components/camel-xstream/src/test/java/org/apache/camel/dataformat/xstream/XStreamConfigurationTest.java
----------------------------------------------------------------------
diff --git 
a/components/camel-xstream/src/test/java/org/apache/camel/dataformat/xstream/XStreamConfigurationTest.java
 
b/components/camel-xstream/src/test/java/org/apache/camel/dataformat/xstream/XStreamConfigurationTest.java
index 5fc8858..c56ec8f 100644
--- 
a/components/camel-xstream/src/test/java/org/apache/camel/dataformat/xstream/XStreamConfigurationTest.java
+++ 
b/components/camel-xstream/src/test/java/org/apache/camel/dataformat/xstream/XStreamConfigurationTest.java
@@ -104,7 +104,7 @@ public class XStreamConfigurationTest extends 
CamelTestSupport {
         order.setAmount(1);
         order.setPrice(99.95);
         
-        String ordereString = 
"{\"purchase-order\":{\"@name\":\"Tiger\",\"@price\":\"99.95\",\"@amount\":\"1.0\"}}";
+        String ordereString = 
"{\"purchase-order\":{\"@name\":\"Tiger\",\"@price\":99.95,\"@amount\":1}}";
         mock.expectedBodiesReceived(new Object[] {ordereString, order});
 
         template.sendBody("direct:marshal-json", order);

Reply via email to