Commit 26bdf857 authored by 龚小红's avatar 龚小红

修改上传方案和分配角色用例

parent e59982a6
...@@ -1975,7 +1975,7 @@ public class Work implements Authorization { ...@@ -1975,7 +1975,7 @@ public class Work implements Authorization {
params.put("type", 2); params.put("type", 2);
response = network.getResponse(params,BasicConfig.WORK_header); response = network.getResponse(params,BasicConfig.WORK_header);
int kycImages= response.jsonPath().getInt("data.kycImages.size()"); int kycImages= response.jsonPath().getInt("data.kycImages.size()");
int planFiles= response.jsonPath().getInt("data.planFile.size()"); int planFiles= response.jsonPath().getInt("data.planFiles.size()");
Assert.assertEquals(kycImages,2,network.message(params,BasicConfig.WORK_header,"上传KYC为空",response.body().asString())); Assert.assertEquals(kycImages,2,network.message(params,BasicConfig.WORK_header,"上传KYC为空",response.body().asString()));
Assert.assertEquals(planFiles,2,network.message(params,BasicConfig.WORK_header,"上传客户方案为空",response.body().asString())); Assert.assertEquals(planFiles,2,network.message(params,BasicConfig.WORK_header,"上传客户方案为空",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