模块化拆分
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package cn.celess.common.util;
|
||||
|
||||
import cn.celess.common.CommonBaseTest;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
@@ -9,9 +8,8 @@ import static org.junit.Assert.assertNotNull;
|
||||
public class HttpUtilTest extends CommonBaseTest {
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void get() {
|
||||
String s = HttpUtil.get("https://api.celess.cn/headerInfo");
|
||||
String s = HttpUtil.getHttpResponse("https://api.celess.cn/headerInfo");
|
||||
assertNotNull(s);
|
||||
// Response<Map<String, Object>> response = getResponse(s, MAP_OBJECT_TYPE);
|
||||
// assertEquals(ResponseEnum.SUCCESS.getCode(), response.getCode());
|
||||
|
||||
Reference in New Issue
Block a user