Skip to content

Commit

Permalink
Debug test error on travis-ci.org #Build #17
Browse files Browse the repository at this point in the history
  • Loading branch information
gudaoxuri committed Jun 1, 2017
1 parent d2e2f3c commit 48cd9f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/java/com/ecfront/dew/common/HttpHelperTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public void testHttp() throws Exception {
Assert.assertEquals("1", $.json.toJson(result).get("form").get("a").asText());
// post - file
result = $.http.post("https://httpbin.org/post", new File(this.getClass().getResource("/").getPath() + "conf1.json"));
System.out.println(result);
Assert.assertEquals("{\r\n \"a\":1\r\n}", $.json.toJson(result).get("files").get("conf1.json").asText());
// put - data
result = $.http.put("https://httpbin.org/put", "some data");
Expand Down

0 comments on commit 48cd9f6

Please sign in to comment.