Commit 82eda54c by xyy

case优化

parent 1b87966d
...@@ -30,8 +30,8 @@ public class TestAxfGetLatestApply extends BaseTestImpl { ...@@ -30,8 +30,8 @@ public class TestAxfGetLatestApply extends BaseTestImpl {
String str = "{\"studioId\":\""+xmAppApi.getLoginInfo().getStudioId()+"\",\"brandId\":\""+xmAppApi.getLoginInfo().getBrandId()+"\",\"operatorId\":\""+xmAppApi.getLoginInfo().getAdminId()+"\"}"; String str = "{\"studioId\":\""+xmAppApi.getLoginInfo().getStudioId()+"\",\"brandId\":\""+xmAppApi.getLoginInfo().getBrandId()+"\",\"operatorId\":\""+xmAppApi.getLoginInfo().getAdminId()+"\"}";
xmAppApi.doRequest(RequestType.JSON, params,str,headers).assetsSuccess(true); xmAppApi.doRequest(RequestType.JSON, params,str,headers).assetsSuccess(true);
//校验校区的商户号PID与预期的一致 //校验校区的商户号PID与预期的一致
Assert.assertEquals(xmAppApi.getBodyInJSON().getJSONObject("result").getString("merchantNo"),"2088460274140455","PID返回错误"); Assert.assertEquals(xmAppApi.getBodyInJSON().getJSONObject("result").getString("superTenantKey"),"B_"+xmAppApi.getLoginInfo().getBrandId());
Assert.assertEquals(xmAppApi.getBodyInJSON().getJSONObject("result").getString("state"),"SETTLE_SUCCESS","状态是申请成功"); Assert.assertEquals(xmAppApi.getBodyInJSON().getJSONObject("result").getString("tenantKey"),"S_"+xmAppApi.getLoginInfo().getStudioId());
} }
} }
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