Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xm-autotest-live
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiamai-test
xm-autotest-live
Commits
b487ce65
Commit
b487ce65
authored
May 12, 2021
by
zhangying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改名称testGetCourseDetail
parent
cb7a479c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/main/java/com/live/cases/interactionLive/TestGetCourseDetail.java
+1
-1
src/main/java/com/live/client/BaseTest.java
+2
-2
No files found.
src/main/java/com/live/cases/interactionLive/TestGetCourseDetail.java
View file @
b487ce65
...
...
@@ -57,7 +57,7 @@ public class TestGetCourseDetail extends XMBaseTest {
* 大班互动直播课-课程详情
*/
@Test
(
description
=
"普通的大班互动课,查看详情"
)
public
void
testGetCourseDetail
1
()
throws
InterruptedException
{
public
void
testGetCourseDetail
2
()
throws
InterruptedException
{
GetLiveCourseData
getLiveCourseData
=
new
GetLiveCourseData
();
JSONObject
getLargeCourseData
=
getLiveCourseData
.
createLargeInteractionClassLive
();
...
...
src/main/java/com/live/client/BaseTest.java
View file @
b487ce65
...
...
@@ -146,10 +146,10 @@ public class BaseTest extends AbstractTestNGSpringContextTests {
* 默认执行线上环境
*/
// 本地执行时使用
//
String env = "prod";
String
env
=
"prod"
;
// 防止多个工程运行时,环境变量名冲突
// 服务器集成测试配置
String
env
=
System
.
getenv
(
"live_env"
);
//
String env = System.getenv("live_env");
if
(
StringUtils
.
isEmpty
(
env
))
{
env
=
prop
.
getProperty
(
"env"
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment