Commit 3ff66686 by zhangying

review

parent cf36b632
...@@ -27,14 +27,9 @@ public class TestCourseLaunch extends XMBaseTest { ...@@ -27,14 +27,9 @@ public class TestCourseLaunch extends XMBaseTest {
@Test(description = "启动欢拓直播客户端") @Test(description = "启动欢拓直播客户端")
public void testCourseLaunch() throws InterruptedException { public void testCourseLaunch() throws InterruptedException {
GetLiveCourseData getLiveCourseData = new GetLiveCourseData();
JSONObject getLargeCourseData = getLiveCourseData.createLargeClassLive();
String liveCourseId = getLargeCourseData.getString("result");
System.out.println("liveCourseId ="+liveCourseId);
JSONObject jsonObject = new JSONObject(); JSONObject jsonObject = new JSONObject();
jsonObject.put("liveCourseId",liveCourseId); jsonObject.put("liveCourseId","1333692400423833602");
xmAppApi.doRequest(RequestType.JSON,params,jsonObject.toJSONString(),headers).assetsSuccess(true); xmAppApi.doRequest(RequestType.JSON,params,jsonObject.toJSONString(),headers).assetsSuccess(true);
JSONObject jsonbody = xmAppApi.getBodyInJSON(); JSONObject jsonbody = xmAppApi.getBodyInJSON();
......
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