Commit 6d92a5bf authored by 龚小红's avatar 龚小红

Merge branch 'Feature/20210926-gxh' into 'master'

增加收货地址的提交

See merge request test-group/kejiji!129
parents e411cadd cae9328a
......@@ -1033,8 +1033,8 @@ public class GoldenEgg implements Authorization {
locationResultParam.put("scene", 1);
Response locationResultRes = network.getResponse(locationResultParam, BasicConfig.USER_locationResult);
System.out.println(locationResultRes.body().asString());
Object winnerRegion = locationResultRes.jsonPath().getJsonObject("data.winnerRegion");
Assert.assertNull(winnerRegion, network.message(locationResultParam, BasicConfig.USER_locationResult, "查询用户是否提交收货地址失败", locationResultRes.body().asString()));
Object winnerRegion = locationResultRes.jsonPath().getJsonObject("data");
Assert.assertNotNull(winnerRegion, network.message(locationResultParam, BasicConfig.USER_locationResult, "查询用户是否提交收货地址失败", locationResultRes.body().asString()));
}
@Test(description = "提交收货地址", priority = 60)
......@@ -1094,7 +1094,7 @@ public class GoldenEgg implements Authorization {
ThreadSleepUtils.sleep(10000);
}
@Test(description = "结束直播", priority = 64)
public void closeLive() {
public void 结束直播() {
Map<String, Object> closeParam = new HashMap<>();
closeParam.put("liveid", LiveConstants.getValue(LiveConstants.StringKeyEnum.LIVE_ID.getKey()));
closeParam.put("cid", 101);
......
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