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

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

parent d28a63c6
...@@ -1975,9 +1975,9 @@ public class Work implements Authorization { ...@@ -1975,9 +1975,9 @@ 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()");
String planFile= response.jsonPath().getString("data.planFile"); int planFiles= response.jsonPath().getInt("data.planFile.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.assertNotNull(planFile,network.message(params,BasicConfig.WORK_header,"上传客户方案为空",response.body().asString())); Assert.assertEquals(planFiles,2,network.message(params,BasicConfig.WORK_header,"上传客户方案为空",response.body().asString()));
} }
@Test(description = "移动策略",priority = 148) @Test(description = "移动策略",priority = 148)
......
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