Commit eb65a647 by xyy

更新case

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