From 48cd9f670b00a1feade094d14e41fd0de4d81dc3 Mon Sep 17 00:00:00 2001 From: gudaoxuri Date: Thu, 1 Jun 2017 20:32:12 +0800 Subject: [PATCH] Debug test error on travis-ci.org #Build #17 --- src/test/java/com/ecfront/dew/common/HttpHelperTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/java/com/ecfront/dew/common/HttpHelperTest.java b/src/test/java/com/ecfront/dew/common/HttpHelperTest.java index 2b066ad..ebb36f5 100644 --- a/src/test/java/com/ecfront/dew/common/HttpHelperTest.java +++ b/src/test/java/com/ecfront/dew/common/HttpHelperTest.java @@ -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");