mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
HttpGlobalConfig.allowPatch()调用时忽略错误
This commit is contained in:
parent
247d79a4fb
commit
78a14dc345
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();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user