Commit 8e9ed3ec authored by 马博's avatar 马博

test

parent 1e3818a6
......@@ -41,6 +41,7 @@ public class DsOrderService {
logger.info("请求订单审核接口:" + url);
Response response=given().contentType("application/x-www-form-urlencoded;charset=UTF-8").cookies(authorization.hdLogin()).params(map).post("http://"+url);
logger.info("请求订单审核接口结束");
try{
Assert.assertEquals(response.jsonPath().getString("desc"),"成功");
}catch(Exception e){
......@@ -63,6 +64,7 @@ public class DsOrderService {
logger.info("请求订单审核接口:" + url);
Response response=given().contentType("application/x-www-form-urlencoded;charset=UTF-8").cookies(authorization.hdLoginCommon(email)).params(map).post("http://"+url);
logger.info("请求订单审核接口结束");
try{
Assert.assertEquals(response.jsonPath().getString("desc"),"成功");
}catch(Exception e){
......@@ -85,6 +87,7 @@ public class DsOrderService {
logger.info("请求订单审核接口:" + url);
Response response=given().contentType("application/x-www-form-urlencoded;charset=UTF-8").cookies(cookies).params(map).post("http://"+url);
logger.info("请求订单审核接口结束");
try{
Assert.assertEquals(response.jsonPath().getString("desc"),"成功");
}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