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

Merge branch 'Feature/kycScheme' into 'master'

1.增加方案进度

See merge request !76
parents f9d42458 bf2b1013
...@@ -651,13 +651,13 @@ public class CheckTask implements Authorization { ...@@ -651,13 +651,13 @@ public class CheckTask implements Authorization {
otoManagerAuth(); otoManagerAuth();
qualifiedKyc(1,true); qualifiedKyc(1,true);
sleep(1000); sleep(1000);
getSchemeNum(3,3,0,1); getSchemeNum(3,2,0,true);
getSchemeList(1,3,1); getSchemeList(1,3,1);
otoPMAuth(); otoPMAuth();
qualifiedKyc(0,true); qualifiedKyc(0,true);
sleep(1000); sleep(1000);
getSchemeNum(3,3,0,0); getSchemeNum(3,2,0,false);
getSchemeList(1,3,0); getSchemeList(1,3,0);
//其他角色不可标记kyc //其他角色不可标记kyc
...@@ -746,7 +746,7 @@ public class CheckTask implements Authorization { ...@@ -746,7 +746,7 @@ public class CheckTask implements Authorization {
Assert.assertEquals(data,result,network.message(params,BasicConfig.WORK_scheme_qualified,"标记KYC结果非"+result,response.body().asString())); Assert.assertEquals(data,result,network.message(params,BasicConfig.WORK_scheme_qualified,"标记KYC结果非"+result,response.body().asString()));
} }
public static void getSchemeNum(int kycNum,int schemeNum,int commitPlanNum,Integer hasQualifiedKyc){ public static void getSchemeNum(int kycNum,int schemeNum,int commitPlanNum,Object hasQualifiedKyc){
HashMap<String,Object> params = new HashMap<>(); HashMap<String,Object> params = new HashMap<>();
params.put("custId", cust_id); params.put("custId", cust_id);
Response response = network.getResponse(params,BasicConfig.WORK_scheme_getNum); Response response = network.getResponse(params,BasicConfig.WORK_scheme_getNum);
......
...@@ -727,7 +727,7 @@ public class Phone implements Authorization { ...@@ -727,7 +727,7 @@ public class Phone implements Authorization {
@Test(description = "方案讲解历史更新",priority = 67) @Test(description = "方案讲解历史更新",priority = 67)
public void 方案讲解历史更新(){ public void 方案讲解历史更新(){
getSchemeNum(3,2,2,0); getSchemeNum(3,2,2,true);
getSchemeList(3,2,0); getSchemeList(3,2,0);
} }
......
...@@ -449,7 +449,7 @@ public class Work implements Authorization { ...@@ -449,7 +449,7 @@ public class Work implements Authorization {
params.put("birthdayTime", System.currentTimeMillis()-86400000); params.put("birthdayTime", System.currentTimeMillis()-86400000);
params.put("custAddress", "老的客户住址"); params.put("custAddress", "老的客户住址");
params.put("custGender", 1); params.put("custGender", 1);
Response response = network.getResponse(params,BasicConfig.WORK_updateInfo); Response response = network.postResponse(params,BasicConfig.WORK_updateInfo);
int size = response.jsonPath().getInt("data.liveDynamicListVoList.size()"); int size = response.jsonPath().getInt("data.liveDynamicListVoList.size()");
Assert.assertEquals(size,0,network.message(params,BasicConfig.WORK_updateInfo,"直播动态错误",response.body().asString())); Assert.assertEquals(size,0,network.message(params,BasicConfig.WORK_updateInfo,"直播动态错误",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