mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
HttpGlobalConfig.allowPatch()调用时忽略错误
This commit is contained in:
10
hutool-http/src/test/java/cn/hutool/http/HttpGlobalConfigTest.java
Executable file
10
hutool-http/src/test/java/cn/hutool/http/HttpGlobalConfigTest.java
Executable file
@@ -0,0 +1,10 @@
|
||||
package cn.hutool.http;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
public class HttpGlobalConfigTest {
|
||||
@Test
|
||||
public void allowPatchTest() {
|
||||
HttpGlobalConfig.allowPatch();
|
||||
}
|
||||
}
|
@@ -378,9 +378,4 @@ public class HttpUtilTest {
|
||||
final HttpRequest request = HttpRequest.of(url).method(Method.GET);
|
||||
Console.log(request.execute().body());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void allowPatchTest() {
|
||||
HttpGlobalConfig.allowPatch();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user