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

Merge branch 'Feature/20221114-mixed' into 'master'

增加绑定企微、导入外部客户、全部客户列表的接口用例

See merge request !48
parents 1d099544 b0ee8e0e
......@@ -608,7 +608,7 @@ public class Work implements Authorization {
params.put("pageIndex", 1);
params.put("pageSize", 50);
params.put("custName", "自动化测试客户6");
response = network.getResponse(params,BasicConfig.WORK_customerList);
response = network.getResponse(params,BasicConfig.WORK_inviterCustList);
int customerId = response.jsonPath().getInt("data.list[0].custId");
params.clear();
......@@ -701,10 +701,9 @@ public class Work implements Authorization {
HashMap<String,Object> params = new HashMap<>();
params.put("pageIndex", 1);
params.put("pageSize", 10);
params.put("custClassifyType", 1);
Response response = network.getResponse(params,BasicConfig.WORK_customerList);
Response response = network.getResponse(params,BasicConfig.WORK_inviterCustList);
boolean success = response.jsonPath().getBoolean("success");
Assert.assertFalse(success,network.message(params,BasicConfig.WORK_customerList,"关闭销售权限后访问成功",response.body().asString()));
Assert.assertFalse(success,network.message(params,BasicConfig.WORK_inviterCustList,"关闭销售权限后访问成功",response.body().asString()));
params.clear();
params.put("id", INVITE_ID);
......
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