Commit 6bf144cd authored by 周松波's avatar 周松波

fix

parent 66e00698
......@@ -59,7 +59,7 @@ public class ContractSign_signTest extends DuibaTestBase {
// }
@Test(description = "截止报名测试, 活动ID=3", priority = 10)
//@Test(description = "截止报名测试, 活动ID=3", priority = 10)
public void 截止报名测试() throws Exception{
Map<String,String> map = new HashMap<>();
......@@ -271,9 +271,11 @@ public class ContractSign_signTest extends DuibaTestBase {
map.put("openStatus", "true");
map.put("gradientAmountList","");
map.put("freeJoinLimit", "0");
map.put("enableAmpifyCard","false");
map.put("openType", "0");
logger.info("请求save接口");
Response response = given().contentType("application/x-www-form-urlencoded;charset=UTF-8").cookies(authorization.ssoLogin()).params(map).post("https://mng.duibatest.com.cn/newmanager/signContract/save");
Response response = given().contentType("application/json").cookies(authorization.ssoLogin()).params(map).post("https://mng.duibatest.com.cn/newmanager/signContract/save");
try {
Assert.assertEquals(response.jsonPath().getString("success"), "true", "/signContract/save接口失败");
} catch (Exception e) {
......
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