diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2013-09-30 03:10:33 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2013-09-30 03:10:33 +0000 |
commit | 9d5f85cd5cd16a77f94681afdfee535eec5ebfcb (patch) | |
tree | 982c43a65e00c46edef7e910554a425a8bd624d8 | |
parent | 25b48faa2a82d4455a1da0987440d7ced3985c93 (diff) |
Fix JSON-RPC test case which was checking wrong data type
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1527434 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | sca-java-2.x/branches/2.0/modules/binding-jsonrpc-runtime/src/test/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCDataTypeTestCase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-java-2.x/branches/2.0/modules/binding-jsonrpc-runtime/src/test/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCDataTypeTestCase.java b/sca-java-2.x/branches/2.0/modules/binding-jsonrpc-runtime/src/test/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCDataTypeTestCase.java index 7b918c934e..8189fd2b23 100644 --- a/sca-java-2.x/branches/2.0/modules/binding-jsonrpc-runtime/src/test/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCDataTypeTestCase.java +++ b/sca-java-2.x/branches/2.0/modules/binding-jsonrpc-runtime/src/test/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCDataTypeTestCase.java @@ -161,7 +161,7 @@ public class JSONRPCDataTypeTestCase { JSONObject jsonResp = new JSONObject(response.getText()); - Assert.assertEquals(1, jsonResp.getJSONArray("result").getInt(0)); + Assert.assertEquals("1", jsonResp.getJSONArray("result").getString(0)); } |