Commit 9fbb7111 authored by 马博's avatar 马博

test

parent 2cdd1fa9
...@@ -279,7 +279,7 @@ public class 商品订单失败测试_ExchangeTest extends CheckTemplet { ...@@ -279,7 +279,7 @@ public class 商品订单失败测试_ExchangeTest extends CheckTemplet {
Assert.assertEquals(statusResponse.jsonPath().getString("message"),"收款账号不存在","校验message失败"); Assert.assertEquals(statusResponse.jsonPath().getString("message"),"收款账号不存在","校验message失败");
Assert.assertEquals(orderStatus,"fail","校验数据库status失败"); Assert.assertEquals(orderStatus,"fail","校验数据库status失败");
Assert.assertEquals(orderError,"40004:Business Failed_PAYEE_NOT_EXIST:收款账号不存在","校验数据库error失败"); Assert.assertEquals(orderError,"收款账号不存在","校验数据库error失败");
logger.info("校验支付宝异常账户兑换失败成功"); logger.info("校验支付宝异常账户兑换失败成功");
} }
......
...@@ -53,7 +53,8 @@ public class 多档位话费_兑换流程测试_ExchangeTest extends CheckTemple ...@@ -53,7 +53,8 @@ public class 多档位话费_兑换流程测试_ExchangeTest extends CheckTemple
//再次兑换 //再次兑换
try{ try{
response = couponExchangeService.phonebillExchange(authorization.dafuwengLogin(uid),"10"); response = couponExchangeService.phonebillExchange(authorization.dafuwengLogin(uid),"10");
response.prettyPrint(); // response.prettyPrint();
logger.info(response.toString());
}catch (Exception e){ }catch (Exception e){
message = e.toString(); message = e.toString();
...@@ -140,7 +141,8 @@ public class 多档位话费_兑换流程测试_ExchangeTest extends CheckTemple ...@@ -140,7 +141,8 @@ public class 多档位话费_兑换流程测试_ExchangeTest extends CheckTemple
//再次兑换 //再次兑换
try{ try{
response = couponExchangeService.phonebillExchange(authorization.dafuwengLogin(uid),"50"); response = couponExchangeService.phonebillExchange(authorization.dafuwengLogin(uid),"50");
response.prettyPrint(); // response.prettyPrint();
logger.info(response.toString());
}catch (Exception e){ }catch (Exception e){
message = e.toString(); message = e.toString();
......
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