Commit 9c6574e6 authored by 吕雯燕's avatar 吕雯燕

lv

parent 83618bbe
......@@ -477,8 +477,8 @@ public class 兑吧老优惠券_兑换流程测试_ExchangeTest extends CheckTem
String exchangeText = MatcherString.getString(detailResponse.asString(), "\"exchangeText\":\"(.*?)\",", 1);
logger.info("兑换按钮:"+ exchangeText);
Assert.assertEquals(response.jsonPath().getString("message"),"已达兑换次数上限","校验用户兑换限制失败");
Assert.assertEquals(exchangeText,"已达兑换次数上限","校验马上兑换按钮状态失败");
Assert.assertEquals(response.jsonPath().getString("message"),"该批次已达兑换上限","校验用户兑换限制失败");
Assert.assertEquals(exchangeText,"该批次已达兑换上限","校验马上兑换按钮状态失败");
logger.info("校验优惠券用户批次兑换限制成功");
}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