Commit be9b6fb5 by zhangying

review

parent 381435a9
...@@ -30,7 +30,7 @@ public class TestCreateBigInteractionCourse extends XMBaseTest { ...@@ -30,7 +30,7 @@ public class TestCreateBigInteractionCourse extends XMBaseTest {
public void testCreateBigInteractionCourse() { public void testCreateBigInteractionCourse() {
JSONObject largeInteractionClassLive = new JSONObject(); JSONObject largeInteractionClassLive = new JSONObject();
largeInteractionClassLive.put("courseName", RandomStringUtil.randomNumber(14, "live_course_")); largeInteractionClassLive.put("courseName", RandomStringUtil.randomNumber(14, "course_"));
largeInteractionClassLive.put("teacherId","1235115979473997826"); largeInteractionClassLive.put("teacherId","1235115979473997826");
largeInteractionClassLive.put("startTime",System.currentTimeMillis() + 60 * 1000); largeInteractionClassLive.put("startTime",System.currentTimeMillis() + 60 * 1000);
largeInteractionClassLive.put("endTime",System.currentTimeMillis() + 30 * 60 * 1000); largeInteractionClassLive.put("endTime",System.currentTimeMillis() + 30 * 60 * 1000);
......
...@@ -35,7 +35,7 @@ public class TestCreateOnlyOneClassLive extends XMBaseTest { ...@@ -35,7 +35,7 @@ public class TestCreateOnlyOneClassLive extends XMBaseTest {
public void testCreateOnlyOneClassLive() { public void testCreateOnlyOneClassLive() {
JSONObject onlyOneClassLive = new JSONObject(); JSONObject onlyOneClassLive = new JSONObject();
String courseName = RandomStringUtil.randomNumber(14, "live_course_"); String courseName = RandomStringUtil.randomNumber(14, "course_");
onlyOneClassLive.put("courseName",courseName ); onlyOneClassLive.put("courseName",courseName );
onlyOneClassLive.put("teacherId",xmAppApi.getLoginInfo().getTid()); onlyOneClassLive.put("teacherId",xmAppApi.getLoginInfo().getTid());
onlyOneClassLive.put("startTime",System.currentTimeMillis() + 60 * 1000); onlyOneClassLive.put("startTime",System.currentTimeMillis() + 60 * 1000);
......
...@@ -198,7 +198,7 @@ public class GetLiveCourseData extends XMBaseTest { ...@@ -198,7 +198,7 @@ public class GetLiveCourseData extends XMBaseTest {
//组装大班直播新增的数据 //组装大班直播新增的数据
public JSONObject buildCreateLargeInteractionClassLiveParam() { public JSONObject buildCreateLargeInteractionClassLiveParam() {
JSONObject largeInteractionClassLive = new JSONObject(); JSONObject largeInteractionClassLive = new JSONObject();
largeInteractionClassLive.put("courseName", RandomStringUtil.randomNumber(14, "live_course_")); largeInteractionClassLive.put("courseName", RandomStringUtil.randomNumber(14, "course_"));
largeInteractionClassLive.put("teacherId","1235115979473997826"); largeInteractionClassLive.put("teacherId","1235115979473997826");
largeInteractionClassLive.put("startTime",System.currentTimeMillis() + 60 * 1000); largeInteractionClassLive.put("startTime",System.currentTimeMillis() + 60 * 1000);
largeInteractionClassLive.put("endTime",System.currentTimeMillis() + 30 * 60 * 1000); largeInteractionClassLive.put("endTime",System.currentTimeMillis() + 30 * 60 * 1000);
......
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