Commit f0a784ff authored by 赵然's avatar 赵然

zr

parent a2851191
......@@ -150,7 +150,7 @@ public class 游戏_参加游戏测试_AccessTest extends DuibaTestBase {
statusResponse.prettyPrint();
String message = MatcherString.getString(statusResponse.asString(),"\"message\": \"(.*?)\"",1);
int i= 8;
int i= 30;
while(i>0&&(message.equals("处理中"))){
Thread.sleep(1000);
statusResponse = newGameService.getStartStatus(ticketId,3268);
......
......@@ -114,9 +114,9 @@ public class 补给站_商品_DuibaTest extends AbstractTestNGSpringContextTests
//查询商品列表,验证商品是否添加成功
Response response2 = developerBJZ.appItems(appId, itemName);
String appItemId2 = String.valueOf(response2.jsonPath().getString("data.list[0].id"));
Assert.assertEquals(response2.jsonPath().getString("data.list[0].title"), "Q币充值", "校验标题名称失败");
Assert.assertEquals(response2.jsonPath().getString("data.list[0].title"), "支付宝充值", "校验标题名称失败");
Assert.assertEquals(response2.jsonPath().getString("data.list[0].status"), "0", "校验状态失败");
Assert.assertEquals(response2.jsonPath().getString("data.list[0].type"), "qb", "校验类型失败");
Assert.assertEquals(response2.jsonPath().getString("data.list[0].type"), "alipay", "校验类型失败");
logger.info("校验title,status,type成功");
//删除添加的直冲类
developerBJZ.ajaxDel(appId, appItemId2);
......
......@@ -464,7 +464,7 @@ public class EditManagerInfoService {
public Response createUser(String name,String appId){
String url = "http://dafuweng.dui88.com" + "/user/create";
String url = "http://autotest-dafuweng.duibatest.com.cn" + "/user/create";
Map<String,Object> map = new HashMap<>();
map.put("appId",appId);
map.put("name",name);
......
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