diff --git a/src/test/java/com/dispose/controller/DeviceNodeInfoControllerQATest.java b/src/test/java/com/dispose/controller/DeviceNodeInfoControllerQATest.java index f8948182..5a125c92 100644 --- a/src/test/java/com/dispose/controller/DeviceNodeInfoControllerQATest.java +++ b/src/test/java/com/dispose/controller/DeviceNodeInfoControllerQATest.java @@ -122,7 +122,7 @@ public class DeviceNodeInfoControllerQATest extends InitTestEnvironment{ public void a2_getVersionNormalSeveralDeviceTest() throws Exception { // 获取多个节点版本信息 String reqData = "{\"ver\":2,\"cryptoType\":0,\"timeStamp\":1587604310504," + - "\"msgContent\":\"{\\\"id\\\":[\\\"242\\\",\\\"123\\\"]}\"}"; + "\"msgContent\":\"{\\\"id\\\":[\\\"1\\\",\\\"123\\\"]}\"}"; String ver = mockMvc.perform(MockMvcRequestBuilders .post("/information/version") @@ -303,7 +303,7 @@ public class DeviceNodeInfoControllerQATest extends InitTestEnvironment{ @Test public void b1_getDeviceInfoNormalOneExistDeviceTest() throws Exception { String reqData = "{\"ver\":2,\"cryptoType\":0,\"timeStamp\":1587604310504," + - "\"msgContent\":\"{\\\"id\\\":[\\\"242\\\"]}\"}"; + "\"msgContent\":\"{\\\"id\\\":[\\\"1\\\"]}\"}"; String deviceInfo = mockMvc.perform(MockMvcRequestBuilders .post("/information/deviceinfo") .contentType(MediaType.APPLICATION_JSON) @@ -341,7 +341,7 @@ public class DeviceNodeInfoControllerQATest extends InitTestEnvironment{ @Test public void b2_getDeviceInfoNormalSeveralDeviceTest() throws Exception { String reqData = "{\"ver\":2,\"cryptoType\":0,\"timeStamp\":1587604310504," + - "\"msgContent\":\"{\\\"id\\\":[\\\"242\\\",\\\"123\\\"]}\"}"; + "\"msgContent\":\"{\\\"id\\\":[\\\"1\\\",\\\"123\\\"]}\"}"; String deviceInfo = mockMvc.perform(MockMvcRequestBuilders .post("/information/deviceinfo") .contentType(MediaType.APPLICATION_JSON) @@ -522,7 +522,7 @@ public class DeviceNodeInfoControllerQATest extends InitTestEnvironment{ @Test public void c1_getLinkStatusNormalOneOnlineDeviceTest() throws Exception{ String reqData = "{\"ver\":2,\"cryptoType\":0,\"timeStamp\":1587604310504," + - "\"msgContent\":\"{\\\"id\\\":[\\\"242\\\"]}\"}"; + "\"msgContent\":\"{\\\"id\\\":[\\\"1\\\"]}\"}"; String linkstatus = mockMvc.perform(MockMvcRequestBuilders .post("/information/linkstatus") .contentType(MediaType.APPLICATION_JSON) @@ -564,7 +564,7 @@ public class DeviceNodeInfoControllerQATest extends InitTestEnvironment{ @Test public void c2_getLinkStatusNormalSeveralDeviceTest() throws Exception{ String reqData = "{\"ver\":2,\"cryptoType\":0,\"timeStamp\":1587604310504," + - "\"msgContent\":\"{\\\"id\\\":[\\\"242\\\",\\\"123\\\"]}\"}"; + "\"msgContent\":\"{\\\"id\\\":[\\\"1\\\",\\\"123\\\"]}\"}"; String linkstatus = mockMvc.perform(MockMvcRequestBuilders .post("/information/linkstatus") .contentType(MediaType.APPLICATION_JSON)