Commit 787f906a authored by 龚小红's avatar 龚小红

增加一面邀约的接口用例

parent b06a4d4a
......@@ -724,15 +724,9 @@ public class Work implements Authorization {
boolean data = response.jsonPath().getBoolean("data");
Assert.assertTrue(data ,network.message(params,BasicConfig.WX_confirm,"客户确认邀请函失败",response.body().asString()));
params.clear();
params.put("custId",custId);
response =network.getResponse(params,BasicConfig.WORK_getHasFirstInvite);
boolean haveMealFlag = response.jsonPath().getBoolean("data.haveMealFlag");
String interviewTime = response.jsonPath().getString("data.interviewTime");
Assert.assertTrue(haveMealFlag ,network.message(params,BasicConfig.WORK_getHasFirstInvite,"约面状态未更新为【已约到】",response.body().asString()));
Assert.assertNotNull(interviewTime ,network.message(params,BasicConfig.WORK_getHasFirstInvite,"面访承诺时间不为空",response.body().asString()));
getHasFirstInvite(1);
taskList(1,1);
taskList(0,1);
}
@Test(description = "邀约组拨打电话回填面访信息正常",priority = 63)
......
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