REM:
1. 冒烟测试所有设备ID值固定为1
This commit is contained in:
HuangXin 2020-05-09 17:53:38 +08:00
parent ba866f5144
commit b7f6b80650
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ public class TaskControllerSmokeTest extends InitTestEnvironment {
@Test
public void t3_NormalStopTaskByDisposeIpTest() throws Exception {
String reqData = "{\"ver\":2,\"cryptoType\":0,\"timeStamp\":1587604296988,\"msgContent\": \"{\\\"items\\\":" +
"[{\\\"id\\\":\\\"451\\\",\\\"type\\\":0,\\\"disposeIp\\\":\\\"192.168.3.4\\\"}]}\"}";
"[{\\\"id\\\":\\\"1\\\",\\\"type\\\":0,\\\"disposeIp\\\":\\\"192.168.3.4\\\"}]}\"}";
String taskStopByIp = mockMvc.perform(MockMvcRequestBuilders
.post("/task/stop_ip")