|
@@ -985,23 +985,23 @@ public class PolicyPageTest {
|
|
|
assertTrue(response.path("data")==null);
|
|
|
}
|
|
|
|
|
|
- @Test
|
|
|
- @Description("正常测试用例:纳入申报计划成功")
|
|
|
- @Story("政策文库")
|
|
|
- public void addDeclarePlanSuccess(){
|
|
|
- List<Integer> projectid=policyPage.getAllprohectId();
|
|
|
- List<Integer> declareplanid=policyPage.getDeclarePlanId();
|
|
|
- projectid.removeAll(declareplanid);
|
|
|
- HashMap<String,Object> body=new HashMap<>();
|
|
|
- body.put("_file","/apijson/page/policyPage/apiPcpDeclaremanagerAddDeclarePlan.json");
|
|
|
- body.put("memberId",homePage.getUserId());
|
|
|
- body.put("formalId",projectid.get(0));
|
|
|
- body.put("type",0);
|
|
|
- Response response=policyPage.addDeclarePlan(body);
|
|
|
- assertEquals((int)response.path("code"),200);
|
|
|
- assertEquals(response.path("message"),"操作成功");
|
|
|
- assertEquals(response.path("data"),"纳入成功");
|
|
|
- }
|
|
|
+// @Test
|
|
|
+// @Description("正常测试用例:纳入申报计划成功")
|
|
|
+// @Story("政策文库")
|
|
|
+// public void addDeclarePlanSuccess(){
|
|
|
+// List<Integer> projectid=policyPage.getAllprohectId();
|
|
|
+// List<Integer> declareplanid=policyPage.getDeclarePlanId();
|
|
|
+// projectid.removeAll(declareplanid);
|
|
|
+// HashMap<String,Object> body=new HashMap<>();
|
|
|
+// body.put("_file","/apijson/page/policyPage/apiPcpDeclaremanagerAddDeclarePlan.json");
|
|
|
+// body.put("memberId",homePage.getUserId());
|
|
|
+// body.put("formalId",projectid.get(0));
|
|
|
+// body.put("type",0);
|
|
|
+// Response response=policyPage.addDeclarePlan(body);
|
|
|
+// assertEquals((int)response.path("code"),200);
|
|
|
+// assertEquals(response.path("message"),"操作成功");
|
|
|
+// assertEquals(response.path("data"),"纳入成功");
|
|
|
+// }
|
|
|
|
|
|
@Test
|
|
|
@Description("正常测试用例:取消纳入申报计划成功")
|