Commit 32d443f2 authored by 吕雯燕's avatar 吕雯燕

lv

parent 3a8efc6c
......@@ -17,7 +17,7 @@ public class Database {
public static String orders13 = "orders_0411";
public static String orders14 = "orders_0712";
public static String orders15 = "orders_0063";
public static String orders16 = "orders_0721";
public static String orders16 = "orders_0632";
......
......@@ -276,9 +276,9 @@ public class 新Qb_兑换流程测试_ExchangeTest extends CheckTemplet {
public void Q币用户id篡改测试() throws Exception{
//商品: lv测试应用77
//uid1: 大富翁app
//uid1: lv测试应用55
//uid2: lv测试应用88
int uid1 = 7084;
int uid1 = 7315;
int uid2 = 7292;
String actualCredits = "3";
String degreeId = "3";
......@@ -287,7 +287,7 @@ public class 新Qb_兑换流程测试_ExchangeTest extends CheckTemplet {
String qq = "806854056";
String message = "";
//话费兑换, 大富翁app已上架Q币
//话费兑换, uid1 -app已上架Q币
Response response = gawService.qbExchange(uid1,actualCredits,degreeId,appItemId,credits,qq);
response.prettyPrint();
String orderId = response.jsonPath().getString("data.orderId");
......@@ -301,7 +301,7 @@ public class 新Qb_兑换流程测试_ExchangeTest extends CheckTemplet {
logger.info("订单积分:" + orderCredits);
Assert.assertEquals(orderStatus,"consume_success","校验status失败");
Assert.assertEquals(orderappId,"1","校验appId失败");
Assert.assertEquals(orderappId,"22561","校验appId失败");
Assert.assertEquals(orderCredits,"300","校验credits失败");
logger.info("校验Q币用户id1篡改兑换成功");
......
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