From 241badb0e212196fe4b886d3369a321b853a5f72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=B7=91=E8=B4=A4?= Date: Sat, 9 May 2020 17:59:01 +0800 Subject: [PATCH] =?UTF-8?q?OCT=20REM:[=E4=BF=AE=E6=94=B9DeviceNodeInfoCont?= =?UTF-8?q?rollerQATest=E7=B1=BB=EF=BC=9A1=E3=80=81=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E5=A4=84=E7=BD=AE=E8=AE=BE=E5=A4=87=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B?= =?UTF-8?q?=E5=AD=98=E5=9C=A8=E8=AE=BE=E5=A4=87id=202=E3=80=81=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E8=8E=B7=E5=8F=96=E5=A4=84=E7=BD=AE=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95=E7=94=A8?= =?UTF-8?q?=E4=BE=8B=E5=AD=98=E5=9C=A8=E8=AE=BE=E5=A4=87id=20=203=E3=80=81?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=93=BE=E8=B7=AF=E9=93=BE=E6=8E=A5=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E6=8E=A5=E5=8F=A3=E7=94=A8=E4=BE=8B=E5=AD=98=E5=9C=A8?= =?UTF-8?q?=E8=AE=BE=E5=A4=87id]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/DeviceNodeInfoControllerQATest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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)