Commit 2cdd1fa9 authored by 马博's avatar 马博

test

parent ab240a96
......@@ -66,6 +66,7 @@ public class MysqlConnPool {
* @throws SQLException
*/
public Map<String, Object> findSimpleResult(String sql, Object ...params) throws SQLException {
log.info("findSimpleResult开始~~~~~~~~~~~~~~~~~~~~~");
Map<String, Object> map = null;
try(Connection conn = bds.getConnection()){
......@@ -102,11 +103,13 @@ public class MysqlConnPool {
}catch(Exception e){
// e.printStackTrace();
log.info("findSimpleResult异常~~~~~~~~~~~~~~~~~~~~~");
log.info("findSimpleResult"+e.toString());
log.info("test");
log.info("bds"+bds.toString());
}
log.info("findSimpleResult结束~~~~~~~~~~~~~~~~~~~~~");
return map;
}
/**
......
......@@ -277,7 +277,7 @@ public class 商品订单失败测试_ExchangeTest extends CheckTemplet {
String orderStatus = String.valueOf(mapOrder.get("status"));
String orderError = String.valueOf(mapOrder.get("error4consumer"));
Assert.assertEquals(statusResponse.jsonPath().getString("message"),"40004:Business Failed_PAYEE_NOT_EXIST:收款账号不存在","校验message失败");
Assert.assertEquals(statusResponse.jsonPath().getString("message"),"收款账号不存在","校验message失败");
Assert.assertEquals(orderStatus,"fail","校验数据库status失败");
Assert.assertEquals(orderError,"40004:Business Failed_PAYEE_NOT_EXIST:收款账号不存在","校验数据库error失败");
logger.info("校验支付宝异常账户兑换失败成功");
......
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