mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fix test
This commit is contained in:
parent
34fe9f577f
commit
cd73435161
@ -193,7 +193,7 @@ public class DownloadTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
//@Ignore
|
@Ignore
|
||||||
public void downloadTeamViewerTest() throws IOException {
|
public void downloadTeamViewerTest() throws IOException {
|
||||||
// 此URL有3次重定向, 需要请求4次
|
// 此URL有3次重定向, 需要请求4次
|
||||||
final String url = "https://download.teamviewer.com/download/TeamViewer_Setup_x64.exe";
|
final String url = "https://download.teamviewer.com/download/TeamViewer_Setup_x64.exe";
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
package cn.hutool.http;
|
package cn.hutool.http;
|
||||||
|
|
||||||
import cn.hutool.core.lang.Console;
|
import cn.hutool.core.lang.Console;
|
||||||
|
import org.junit.Ignore;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
public class IssueI5TPSYTest {
|
public class IssueI5TPSYTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
//@Ignore
|
@Ignore
|
||||||
public void redirectTest() {
|
public void redirectTest() {
|
||||||
final String url = "https://bsxt.gdzwfw.gov.cn/UnifiedReporting/auth/newIndex";
|
final String url = "https://bsxt.gdzwfw.gov.cn/UnifiedReporting/auth/newIndex";
|
||||||
final HttpResponse res = HttpUtil.createGet(url).setFollowRedirects(true)
|
final HttpResponse res = HttpUtil.createGet(url).setFollowRedirects(true)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user