Commit dfb64951 authored by 郭姣's avatar 郭姣

今日打卡接口用例修改

parent 7059fd79
...@@ -254,7 +254,7 @@ public class DailyPaper implements Authorization { ...@@ -254,7 +254,7 @@ public class DailyPaper implements Authorization {
params.put("id",pId); params.put("id",pId);
System.out.println(pId); System.out.println(pId);
params.put("imageUrlConfig",pUrl); params.put("imageUrlConfig",pUrl);
params.put("clock","false"); params.put("clock","true");
Response response = network.getResponse(params,HOME_getInfo); Response response = network.getResponse(params,HOME_getInfo);
boolean isClock = response.jsonPath().getBoolean("data.isClock"); boolean isClock = response.jsonPath().getBoolean("data.isClock");
Assert.assertTrue(isClock, network.message(params,HOME_getInfo,"打卡失败",response.body().asString())); Assert.assertTrue(isClock, network.message(params,HOME_getInfo,"打卡失败",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