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
c85ff764
Commit
c85ff764
authored
Oct 29, 2021
by
龚小红
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/20211029-xmc' into 'master'
fix:修改文章FAQ列表校验条件 See merge request test-group/kejiji!154
parents
2f47bea2
539b4dce
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
ForwardAndRead.java
...java/com/kjj/cases/assistant/whoSawMe/ForwardAndRead.java
+1
-2
No files found.
src/test/java/com/kjj/cases/assistant/whoSawMe/ForwardAndRead.java
View file @
c85ff764
...
...
@@ -157,9 +157,8 @@ public class ForwardAndRead implements Authorization {
param
.
put
(
"pageIndex"
,
1
);
param
.
put
(
"pageSize"
,
2
);
response
=
network
.
getResponse
(
param
,
BasicConfig
.
ARTICLE_ENHANCEDCOLUMN_GETFAQS
);
int
totalCount
=
response
.
jsonPath
().
getInt
(
"data.totalCount"
);
List
<
Object
>
lists
=
response
.
jsonPath
().
getList
(
"data.list"
);
Assert
.
assert
Equals
(
totalCount
,
lists
.
size
(),
network
.
message
(
param
,
BasicConfig
.
ARTICLE_ENHANCEDCOLUMN_GETFAQS
,
"FAQ总数与FAQ列表大小不一致
"
,
response
.
body
().
asString
()));
Assert
.
assert
True
(
lists
.
size
()
>
0
,
network
.
message
(
param
,
BasicConfig
.
ARTICLE_ENHANCEDCOLUMN_GETFAQS
,
"未获取到文章FAQs
"
,
response
.
body
().
asString
()));
questionId
=
response
.
jsonPath
().
getString
(
"data.list[0].questionId"
);
}
...
...
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