Commit 5da1b53b authored by 龚小红's avatar 龚小红

OTO日常优化2-回收列表排序更新

parent 0f125bdd
......@@ -545,8 +545,8 @@ public class Work implements Authorization {
Response response = network.getResponse(params,BasicConfig.WORK_recycleList);
int size = response.jsonPath().getInt("data.list.size()");
Assert.assertTrue(size>0,network.message(params,BasicConfig.WORK_recycleList,"查看回收池客户列表为空",response.body().asString()));
int result = response.jsonPath().getInt("data.list[0].custId");
Assert.assertEquals(result,collectCustId,network.message(params,BasicConfig.WORK_recycleList,"回收池客户列表不包含刚刚的回收客户",response.body().asString()));
int result = response.jsonPath().getInt("data.list.findAll{it.custId == "+collectCustId+"}.size()");
Assert.assertEquals(result,1,network.message(params,BasicConfig.WORK_recycleList,"回收池客户列表不包含刚刚的回收客户",response.body().asString()));
}
@Test(description = "认领回收池客户",priority = 52)
......
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