Commit 7758492b authored by 张艳玲's avatar 张艳玲

update

parent e1fcc804
......@@ -149,20 +149,8 @@ public class SaveAndUpdate implements AdminAuthorization {
Assert.assertTrue(data5, network.message(saveOrUpdate4Param, BasicConfig.MANAGER_SAVEORUPDATE4, "问卷配置失败", saveOrUpdate4Res.body().asString()));
}
// @Test(description = "代理人参与条件", priority = 9)
// public void 代理人参与条件() {
//
// Map<String, Object> saveAgentParticipateParam = new HashMap<>();
// saveAgentParticipateParam.put("liveId", liveID);
// saveAgentParticipateParam.put("inviteCount", 1);
//
// Response saveAgentParticipateParamRes = network.postResponse(saveAgentParticipateParam, BasicConfig.MANAGER_SAVEAGENTPARTICIPATE);
// boolean data6 = saveAgentParticipateParamRes.jsonPath().getBoolean("data");
// System.out.println(data6);
// Assert.assertTrue(data6, network.message(saveAgentParticipateParam, BasicConfig.MANAGER_SAVEAGENTPARTICIPATE, "代理人参与条件配置失败", saveAgentParticipateParamRes.body().asString()));
// }
@Test(description = "指定中奖奖品", priority = 10)
@Test(description = "指定中奖奖品", priority = 9)
public void 指定中奖奖品() {
Map<String, Object> saveSpecifyAwardParam = new HashMap<>();
saveSpecifyAwardParam.put("Id", "");
......@@ -181,7 +169,7 @@ public class SaveAndUpdate implements AdminAuthorization {
Assert.assertTrue(data7, network.message(saveSpecifyAwardParam, BasicConfig.MANAGER_SAVESPECIFYAWARD, "指定中奖配置失败", saveSpecifyAwardRes.body().asString()));
}
@Test(description = "个人PK奖励", priority = 11)
@Test(description = "个人PK奖励", priority = 10)
public void 个人PK奖励() {
Map<String, Object> saveOrUpdate5Param = new HashMap<>();
saveOrUpdate5Param.put("liveId", liveID);
......@@ -189,9 +177,9 @@ public class SaveAndUpdate implements AdminAuthorization {
List<RewardPkBean> rewardPks = new ArrayList<>();// []
RewardPkBean rewardPk = new RewardPkBean();// {}
rewardPk.setPrizeName("1");// {id:1}
rewardPk.setRanking(1);// {id:1,ss:"rew"}
rewardPks.add(rewardPk);// [{id:1,ss:"rew"}]
rewardPk.setPrizeName("1");
rewardPk.setRanking(1);
rewardPks.add(rewardPk);
RewardPkBean rewardPk1 = new RewardPkBean();
rewardPk1.setPrizeName("2");
......@@ -211,7 +199,7 @@ public class SaveAndUpdate implements AdminAuthorization {
}
@Test(description = "团队PK奖励", priority = 12)
@Test(description = "团队PK奖励", priority = 11)
public void 团队PK奖励() {
Map<String, Object> saveOrUpdate6Param = new HashMap<>();
......@@ -243,7 +231,7 @@ public class SaveAndUpdate implements AdminAuthorization {
}
@Test(description = "获取剩余红包金额", priority = 13)
@Test(description = "获取剩余红包金额", priority = 12)
public void 获取剩余红包金额() {
Map<String, Object> getSurplusAmountParam = new HashMap<>();
getSurplusAmountParam.put("liveId", liveID);
......@@ -256,7 +244,7 @@ public class SaveAndUpdate implements AdminAuthorization {
}
//添加红包配置
@Test(description = "新增红包配置", priority = 14)
@Test(description = "新增红包配置", priority = 13)
public void 新增红包配置() {
Map<String, Object> saveOrUpdateRedParam = new HashMap<>();
saveOrUpdateRedParam.put("liveId", liveID);
......@@ -274,7 +262,7 @@ public class SaveAndUpdate implements AdminAuthorization {
}
//答题红包配置
@Test(description = "新增答题红包", priority = 15)
@Test(description = "新增答题红包", priority = 14)
public void 新增答题红包() {
Map<String, Object> saveOrUpdate9Param = new HashMap<>();
saveOrUpdate9Param.put("liveId", liveID);
......@@ -306,7 +294,7 @@ public class SaveAndUpdate implements AdminAuthorization {
}
//直播前奖品配置
@Test(description = "直播前抽奖", priority = 16)
@Test(description = "直播前抽奖", priority = 15)
public void 直播前抽奖() {
Map<String, Object> addParam = new HashMap<>();
addParam.put("liveId", liveID);
......@@ -323,7 +311,7 @@ public class SaveAndUpdate implements AdminAuthorization {
}
//直播中奖品配置
@Test(description = "直播中抽奖", priority = 17)
@Test(description = "直播中抽奖", priority = 16)
public void 直播中抽奖() {
Map<String, Object> add1Param = new HashMap<>();
add1Param.put("liveId", liveID);
......@@ -378,7 +366,7 @@ public class SaveAndUpdate implements AdminAuthorization {
}
//配置免费福利
@Test(description = "配置免费福利", priority = 18)
@Test(description = "配置免费福利", priority = 17)
public void 配置免费福利() {
Map<String, Object> saveOrUpdate8Param = new HashMap<>();
saveOrUpdate8Param.put("liveId", liveID);
......
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