Commit e7eaa2ef authored by 龚小红's avatar 龚小红

修改

parent dfee618b
...@@ -359,7 +359,7 @@ public class CheckTask implements Authorization { ...@@ -359,7 +359,7 @@ public class CheckTask implements Authorization {
Assert.assertTrue(data,network.message(params,BasicConfig.WORK_introduce_save,"创建转介绍客户失败",response.body().asString())); Assert.assertTrue(data,network.message(params,BasicConfig.WORK_introduce_save,"创建转介绍客户失败",response.body().asString()));
params.clear(); params.clear();
sleep(10000); sleep(3000);
otoExpertAuth(); otoExpertAuth();
params.put("pageIndex", 1); params.put("pageIndex", 1);
params.put("pageSize", 50); params.put("pageSize", 50);
......
...@@ -503,8 +503,6 @@ public class Manager implements Authorization { ...@@ -503,8 +503,6 @@ public class Manager implements Authorization {
Assert.assertEquals(liveId,IdMakeUtil.encodingId(8203L),network.message(params,BasicConfig.live_mapping_getTrueLinkInfo,"模糊查询结果错误",response.body().asString())); Assert.assertEquals(liveId,IdMakeUtil.encodingId(8203L),network.message(params,BasicConfig.live_mapping_getTrueLinkInfo,"模糊查询结果错误",response.body().asString()));
} }
@Test(description = "批量分配客户",priority = 42) @Test(description = "批量分配客户",priority = 42)
public void 批量分配客户(){ public void 批量分配客户(){
custids = new ArrayList<Integer>(); custids = new ArrayList<Integer>();
......
...@@ -628,7 +628,7 @@ public class Work implements Authorization { ...@@ -628,7 +628,7 @@ public class Work implements Authorization {
int finishCustNum = response.jsonPath().getInt("data.finishCustNum"); int finishCustNum = response.jsonPath().getInt("data.finishCustNum");
int listSize = response.jsonPath().getInt("data.list.size()"); int listSize = response.jsonPath().getInt("data.list.size()");
Assert.assertEquals(finishCustNum,0,network.message(params,BasicConfig.WORK_taskList,"已完成数量记录错误",response.body().asString())); Assert.assertEquals(finishCustNum,0,network.message(params,BasicConfig.WORK_taskList,"已完成数量记录错误",response.body().asString()));
Assert.assertEquals(listSize,7,network.message(params,BasicConfig.WORK_taskList,"待完成客户数统计错误",response.body().asString())); Assert.assertEquals(listSize,6,network.message(params,BasicConfig.WORK_taskList,"待完成客户数统计错误",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