Commit aafcb644 authored by 周松波's avatar 周松波

修改resign接口补签失败断言

parent 22a4e5b6
......@@ -222,7 +222,7 @@ public class Signin_signTest extends DuibaTestBase {
// response.prettyPrint();
String message = response.jsonPath().getString("message");
Assert.assertEquals(message,"补签失败,补签超过限定次数","补签超过限制次数");
Assert.assertEquals(message,"补签超过限定次数","补签超过限制次数");
}
public String getTime(int amount){
SimpleDateFormat dateFormat = new SimpleDateFormat("EEE MMM d yyyy",Locale.ENGLISH);
......
......@@ -245,7 +245,7 @@ public class 补签测试_signTest extends DuibaTestBase {
String message = response.jsonPath().getString("message");
//判断结果
Assert.assertEquals(success,"false","补签结果不正确,应补签失败");
Assert.assertEquals(message,"补签失败,当前日期不支持补签 ","补签失败返回信息不对");
Assert.assertEquals(message,"当前日期不支持补签 ","补签失败返回信息不对");
logger.info("补签失败用例成功,原因——超过补签期限");
}
......@@ -299,7 +299,7 @@ public class 补签测试_signTest extends DuibaTestBase {
String message = resignRes.jsonPath().getString("message");
//判断结果
Assert.assertEquals(success,"false","补签结果不正确,应补签失败");
Assert.assertEquals(message,"补签失败,补签超过限定次数","补签失败返回信息不对");
Assert.assertEquals(message,"补签超过限定次数","补签失败返回信息不对");
}
......
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