Commit c507d36b authored by 马博's avatar 马博

add case

parent 9fd3d239
......@@ -111,6 +111,24 @@ public class Qb_兑换流程测试_ExchangeTest extends CheckTemplet {
}
@Test
public void qbExchange_档位不存在() throws Exception {
int uid = 3767;
String message = "";
try{
Response response = qbExchangeService.doTakePrize(authorization.dafuwengLogin(uid),"123434555453","99");
}catch(Exception e){
message = e.toString();
}
logger.info(message);
Assert.assertTrue(message.contains("\"success\":false,\"message\":\"档位不存在\""));
}
@Test
public void qbExchange_积分不足() throws Exception {
int uid = 3086;
......
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