Commit 87c2cc02 by xyy

case优化

parent 3b92e986
......@@ -59,8 +59,8 @@ public class TestGetTrainingPlanContent extends BaseTestImpl {
Assert.assertNotNull(XMJSONPath.readPath(xmAppApi.getBodyInJSON(),"$.result"));
//5.保存并发送训练计划
String exerciseId = XMJSONPath.readPath(trainingTools.getListByName("胸"),"$.result[0].id");
String exerciseName = XMJSONPath.readPath(trainingTools.getListByName("胸"),"$.result[0].name");
String exerciseId = XMJSONPath.readPath(trainingTools.getListByName("上斜绳索夹胸"),"$.result[0].id");
String exerciseName = XMJSONPath.readPath(trainingTools.getListByName("上斜绳索夹胸"),"$.result[0].name");
String recordId = trainingTools.trainingPlanRecordCreate(memberId,exerciseId,exerciseName);
Assert.assertTrue(Integer.parseInt(XMJSONPath.readPath(trainingTools.trainingPlanRecordPage(memberId,""),"$.result.total"))==num+1);
......
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