Merge branch 'master' of git.komect.net:DDOSAQ/phoenix_ddos_handle

This commit is contained in:
HuangXin 2020-05-09 18:08:56 +08:00
commit 67c6052b0f
1 changed files with 5 additions and 5 deletions

View File

@ -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)