Commit 847cc1f8 authored by 吕雯燕's avatar 吕雯燕

lv

parent 6cf5962f
package http.cases.ExchangeTest;
package http.cases.ExchangeTest.兑吧_直充类商品兑换;
import base.DuibaBase;
import base.DuibaBases;
import http.cases.ExchangeTest.CheckTemplet;
import http.service.Activity.ManagerService;
import http.service.Authorization;
import http.service.app.*;
......@@ -108,6 +109,8 @@ public class Qb_兑换流程测试_ExchangeTest extends CheckTemplet {
Assert.assertTrue(status.equals("success"),"校验订单状态失败");
logger.info("校验兑换订单状态正确");
}
@Test
public void qbExchange_积分不足() throws Exception {
int uid = 3086;
......@@ -130,6 +133,8 @@ public class Qb_兑换流程测试_ExchangeTest extends CheckTemplet {
}
@Test
public void 开发者余额不足测试() throws Exception{
int uid = 3490;
......
package http.cases.ExchangeTest;
package http.cases.ExchangeTest.兑吧_直充类商品兑换;
import base.DuibaLog;
import http.cases.ExchangeTest.CheckTemplet;
import http.service.Activity.ManagerService;
import http.service.Authorization;
import http.service.app.*;
......
package http.cases.ExchangeTest;
package http.cases.ExchangeTest.兑吧_直充类商品兑换;
import http.cases.ExchangeTest.CheckTemplet;
import http.service.Authorization;
import http.service.app.CouponExchangeService;
import http.service.app.CrecordService;
......
package http.cases.ExchangeTest;
package http.cases.ExchangeTest.兑吧_直充类商品兑换;
import base.DuibaBase;
import base.DuibaBases;
import http.cases.ExchangeTest.CheckTemplet;
import http.cases.ExchangeTest.Database;
import http.service.Authorization;
import http.service.Manager.ADeveloperService;
import http.service.app.AlipayExchangeService;
......@@ -87,7 +89,7 @@ public class 支付宝_兑换流程测试_ExchangeTest extends CheckTemplet {
logger.info("订单号:" + orderId);
//订单审核,判断是否在待审核节点
Map<String,Object> mapOrder = jdbc.findSimpleResult("SELECT * FROM "+Database.orders_consumer+"."+Database.orders9+" WHERE id = " + orderId);
Map<String,Object> mapOrder = jdbc.findSimpleResult("SELECT * FROM "+ Database.orders_consumer+"."+Database.orders9+" WHERE id = " + orderId);
String flowWork = String.valueOf(mapOrder.get("flowwork_stage"));
Thread.sleep(300);
logger.info("数据库订单节点:" + flowWork);
......
package http.cases.ExchangeTest;
package http.cases.ExchangeTest.兑吧_直充类商品兑换;
import base.DuibaBase;
import base.DuibaBases;
import base.DuibaTestBase;
import http.cases.ExchangeTest.CheckTemplet;
import http.service.Authorization;
import http.service.Manager.ADeveloperService;
import http.service.app.gawService;
import http.service.app.tawService;
import http.service.app.MobileService;
import http.service.hd.DeveloperAccountService;
import http.service.hd.DsOrderService;
import org.apache.http.auth.AUTH;
import utils.MatcherString;
import base.DuibaLog;
import io.restassured.response.Response;
......
package http.cases.ExchangeTest;
package http.cases.ExchangeTest.兑吧_直充类商品兑换;
import http.cases.ExchangeTest.CheckTemplet;
import http.service.Authorization;
import http.service.app.CouponExchangeService;
import http.service.app.CrecordService;
......@@ -22,7 +23,7 @@ import static io.restassured.RestAssured.given;
/**
* Created by mabo on 2019/2/28
*/
public class 话费_兑换限制测试_ExchangeTest extends CheckTemplet{
public class 话费_兑换限制测试_ExchangeTest extends CheckTemplet {
@Autowired
private MobileService mobileService;
@Autowired
......
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