Commit e5882849 authored by 张艳玲's avatar 张艳玲

更新好运红包用例

parent 450f78fc
...@@ -89,6 +89,7 @@ public class Agent implements Authorization { ...@@ -89,6 +89,7 @@ public class Agent implements Authorization {
params.put("phoneNumber", "152588101691"); params.put("phoneNumber", "152588101691");
params.put("jobNumber", "KJJ0000"); params.put("jobNumber", "KJJ0000");
params.put("wechatQrCode", "//yun.dui88.com/kjy/nc/qrcode1/1981ec88d22fe37041feac4724c627670817.png"); params.put("wechatQrCode", "//yun.dui88.com/kjy/nc/qrcode1/1981ec88d22fe37041feac4724c627670817.png");
params.put("avatar", "//yun.dui88.com/kjy/nc/qrcode1/1981ec88d22fe37041feac4724c627670817.png");
Response response = network.postResponse(params, BasicConfig.MOBILE_AgentEditCardInfo); Response response = network.postResponse(params, BasicConfig.MOBILE_AgentEditCardInfo);
Boolean data = response.jsonPath().getBoolean("data"); Boolean data = response.jsonPath().getBoolean("data");
System.out.println(data); System.out.println(data);
......
...@@ -1476,6 +1476,7 @@ public class SaveLive implements Authorization { ...@@ -1476,6 +1476,7 @@ public class SaveLive implements Authorization {
Map<String, Object> Params = new HashMap<>(); Map<String, Object> Params = new HashMap<>();
Params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.LIVE_ID.getKey())); Params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.LIVE_ID.getKey()));
Params.put("transitionVideoUrl","https://yun.dui88.com/kjy/media/file/20210619/bb4a63f026ee228ad99b2367cfa83229.mp4"); Params.put("transitionVideoUrl","https://yun.dui88.com/kjy/media/file/20210619/bb4a63f026ee228ad99b2367cfa83229.mp4");
Params.put("transitionVideoUrl2","https://yun.dui88.com/kjy/media/file/20210722/c8b13c0316456c5f43b8713ed4b5cae2.mp4");
Params.put("videoDelayTime", 5); Params.put("videoDelayTime", 5);
Response response = network.postResponse(Params, BasicConfig.MANAGER_confCaveOrUpdate); Response response = network.postResponse(Params, BasicConfig.MANAGER_confCaveOrUpdate);
boolean data = response.jsonPath().getBoolean("data"); boolean data = response.jsonPath().getBoolean("data");
...@@ -1517,11 +1518,11 @@ public class SaveLive implements Authorization { ...@@ -1517,11 +1518,11 @@ public class SaveLive implements Authorization {
Response response = network.getResponse(Params, BasicConfig.MANAGER_getConfDetail); Response response = network.getResponse(Params, BasicConfig.MANAGER_getConfDetail);
boolean transitionVideoConfBuildStatus = response.jsonPath().getBoolean("data.transitionVideoConfBuildStatus"); boolean transitionVideoConfBuildStatus = response.jsonPath().getBoolean("data.transitionVideoConfBuildStatus");
System.out.println(transitionVideoConfBuildStatus); System.out.println(transitionVideoConfBuildStatus);
Assert.assertTrue(transitionVideoConfBuildStatus, network.message(Params, BasicConfig.MANAGER_getConfDetail, "未配置翻牌", response.body().asString())); Assert.assertTrue(transitionVideoConfBuildStatus, network.message(Params, BasicConfig.MANAGER_getConfDetail, "未配置过渡视频", response.body().asString()));
boolean transitionVideoConfStatus = response.jsonPath().getBoolean("data.transitionVideoConfStatus"); boolean transitionVideoConfStatus = response.jsonPath().getBoolean("data.transitionVideoConfStatus");
System.out.println(transitionVideoConfStatus); System.out.println(transitionVideoConfStatus);
Assert.assertTrue(transitionVideoConfStatus, network.message(Params, BasicConfig.MANAGER_getConfDetail, "未开启翻牌", response.body().asString())); Assert.assertTrue(transitionVideoConfStatus, network.message(Params, BasicConfig.MANAGER_getConfDetail, "未开启过渡视频", response.body().asString()));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment