Commit e698cf79 by yangfangfang

解决报错

parent cfc64efd
......@@ -41,7 +41,7 @@ public class TestScan extends XMBaseTest {
xmAppApi.doRequest(RequestType.JSON,params,object.toString(),headers).assetsSuccess(true);
Assert.assertEquals(XMJSONPath.readPath(xmAppApi.getBodyInJSON(),"$.result.memberId"),"1805435813468483586");
String id = XMJSONPath.readPath(xmAppApi.getBodyInJSON(),"$.result.id");
Assert.assertEquals(entryTool.memberEntryPage("MEMBER").getJSONObject("result").getJSONArray("records").getJSONObject(0).getString("id"),id);
......@@ -49,7 +49,7 @@ public class TestScan extends XMBaseTest {
Assert.assertEquals(res.getString("memberId"),"1805435813468483586");
Assert.assertEquals(res.getString("entryType"),"MEMBER");
Assert.assertEquals(res.getString("entryMethod"),"CODE");
Assert.assertEquals(res.getString("entryVoucherType"),"RESERVE");
Assert.assertEquals(res.getString("entryVoucherType"),"VENUE_BOOKING");//原本是RESERVE,后面改成了 VENUE_BOOKING
}
}
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