Commit 8399d051 authored by 马博's avatar 马博

Merge branch 'mabo' of gitlab2.dui88.com:mabo/test-platform into mabo

parents bf68fefa b2574e06
...@@ -66,9 +66,9 @@ public class 异常订单测试_ExchangeTest extends DuibaTestBase { ...@@ -66,9 +66,9 @@ public class 异常订单测试_ExchangeTest extends DuibaTestBase {
@Test(description = "实物兑换无库存") @Test(description = "实物兑换无库存")
public void 无库存() throws Exception { public void 无库存() throws Exception {
Response response = mobileService.detail(authorization.dafuwengLogin(3661), "31051");//uid3661 Response response = mobileService.detail(authorization.dafuwengLogin(4819), "31051");//uid3661
// response.prettyPrint(); // response.prettyPrint();
Map<String, String> map = authorization.dafuwengLogin(3661, true); Map<String, String> map = authorization.dafuwengLogin(4819);
Assert.assertEquals(String.valueOf(response.getStatusCode()), "200", "活动详情页请求异常"); Assert.assertEquals(String.valueOf(response.getStatusCode()), "200", "活动详情页请求异常");
//实物兑换 //实物兑换
Response response2 = couponExchangeService.objectExchange2(map, "179139", "null", "null", "z9sydmcs", "null"); Response response2 = couponExchangeService.objectExchange2(map, "179139", "null", "null", "z9sydmcs", "null");
......
...@@ -83,7 +83,7 @@ public class 种红包配置校验_AccessTest extends DuibaTestBase{ ...@@ -83,7 +83,7 @@ public class 种红包配置校验_AccessTest extends DuibaTestBase{
logger.info("种红包的红包配置接口校验正确"); logger.info("种红包的红包配置接口校验正确");
} }
//@Test @Test
public void 流量策略打开校验() throws Exception { public void 流量策略打开校验() throws Exception {
//dafuweng登陆获取cookies //dafuweng登陆获取cookies
Map cookies = authorization.dafuwengLogin(uid3); Map cookies = authorization.dafuwengLogin(uid3);
......
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