REM:
1. 修改请求报文
This commit is contained in:
chenlinghy 2020-05-28 16:58:31 +08:00
parent 3866d32179
commit 560944c98b
1 changed files with 6 additions and 8 deletions

View File

@ -756,10 +756,9 @@ public class TaskControllerTest extends InitTestEnvironment {
*/
@Test
public void t6_getNodeAllTask() throws Exception {
GetTaskReq reqData = GetTaskReq.builder()
.id(new String[]{String.valueOf(getExistsDeviceId()), "123"})
.type(0)
.build();
GetTaskReq reqData = new GetTaskReq();
reqData.setId(new String[]{String.valueOf(getExistsDeviceId()), "123"});
reqData.setType(0);
Long reqTimeStamp = System.currentTimeMillis();
ProtocolReqDTO reqInfo = new ProtocolReqDTO();
@ -823,10 +822,9 @@ public class TaskControllerTest extends InitTestEnvironment {
*/
@Test
public void t6_getNodeAllTaskAll() throws Exception {
GetTaskReq reqData = GetTaskReq.builder()
.id(new String[]{})
.type(0)
.build();
GetTaskReq reqData = new GetTaskReq();
reqData.setId(new String[]{});
reqData.setType(0);
Long reqTimeStamp = System.currentTimeMillis();
ProtocolReqDTO reqInfo = new ProtocolReqDTO();