Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oto
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
龚小红
oto
Commits
3eedec9f
Commit
3eedec9f
authored
Feb 16, 2022
by
龚小红
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'Feature/20210215-gxh' into 'master'
fix-渠道列表断言 See merge request test-group/kejiji!222
parents
8de87be0
af184021
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Manager.java
src/test/java/com/kjj/cases/otoseller/Manager.java
+2
-2
No files found.
src/test/java/com/kjj/cases/otoseller/Manager.java
View file @
3eedec9f
...
@@ -75,7 +75,7 @@ public class Manager {
...
@@ -75,7 +75,7 @@ public class Manager {
@Test
(
description
=
"查询渠道列表"
,
priority
=
4
)
@Test
(
description
=
"查询渠道列表"
,
priority
=
4
)
public
void
查询渠道列表
(){
public
void
查询渠道列表
(){
Response
response
=
network
.
getResponse
(
BasicConfig
.
MANAGER_oto_channelList
);
Response
response
=
network
.
getResponse
(
BasicConfig
.
MANAGER_oto_channelList
);
boolean
data
=
response
.
jsonPath
().
getBoolean
(
"data
"
);
int
size
=
response
.
jsonPath
().
getInt
(
"data.size
"
);
Assert
.
assertTrue
(
data
,
network
.
message
(
BasicConfig
.
FORM_submit
,
"退出登录失败
"
,
response
.
body
().
asString
()));
Assert
.
assertTrue
(
size
>
0
,
network
.
message
(
BasicConfig
.
FORM_submit
,
"渠道列表为空
"
,
response
.
body
().
asString
()));
}
}
}
}
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