模块化拆分

This commit is contained in:
禾几海
2021-10-01 15:43:54 +08:00
parent 7e700b6499
commit ef2f98e45f
25 changed files with 132 additions and 44 deletions

View File

@@ -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());