Commit 9cb2daf4 by zhangying

review

parent 875ead12
...@@ -25,6 +25,29 @@ public class TestGetLargeClassLiveList extends XMBaseTest { ...@@ -25,6 +25,29 @@ public class TestGetLargeClassLiveList extends XMBaseTest {
} }
/** /**
* 大班直播课列表数据
*/
@Test
public void testGetLargeClassLiveList() {
JSONObject jsonObject = new JSONObject();
jsonObject.put("instId","1235115978015883266");
jsonObject.put("current","1");
jsonObject.put("size","10");
System.out.println("jsonObject ="+jsonObject );
xmAppApi.doRequest(RequestType.JSON, params, jsonObject.toJSONString(), headers);
System.out.println(xmAppApi);
JSONObject jsonBody = xmAppApi.getBodyInJSON();
System.out.println("jsonBody ="+jsonBody );
Assert.assertNotEquals(0, jsonBody.getString("total"));
Assert.assertEquals("true", jsonBody.getString("success"));
Assert.assertEquals("200", jsonBody.getString("code"));
}
/**
* 大班直播课列表数据-详细查询 * 大班直播课列表数据-详细查询
*/ */
@Test @Test
......
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