Commit 524726a8 by xyy

fix case

parent f702ccb5
......@@ -58,8 +58,8 @@ public class TestGetApply extends XMBaseTest {
//若有数据,检验详情里的场馆信息跟品牌信息匹配;若无返回报错
if (total != 0) {
Assert.assertEquals(XMJSONPath.readPath(response, "$.message"), "操作成功!");
Assert.assertEquals(XMJSONPath.readPath(response, "$.result.brandId"), xmAppApi.getLoginInfo().getStudioId());
Assert.assertEquals(XMJSONPath.readPath(response, "$.result.studioId"), xmAppApi.getLoginInfo().getStudioId());
Assert.assertEquals(XMJSONPath.readPath(response, "$.result.companyType"), "PRIVATE");
Assert.assertEquals(XMJSONPath.readPath(response, "$.result.openState"), "SUCCESS");
} else {
Assert.assertEquals(XMJSONPath.readPath(response, "$.message"), "数据不存在");
}
......
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