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
5da1b53b
Commit
5da1b53b
authored
Apr 22, 2022
by
龚小红
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OTO日常优化2-回收列表排序更新
parent
0f125bdd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Work.java
src/test/java/com/kjj/cases/otoseller/Work.java
+2
-2
No files found.
src/test/java/com/kjj/cases/otoseller/Work.java
View file @
5da1b53b
...
@@ -545,8 +545,8 @@ public class Work implements Authorization {
...
@@ -545,8 +545,8 @@ public class Work implements Authorization {
Response
response
=
network
.
getResponse
(
params
,
BasicConfig
.
WORK_recycleList
);
Response
response
=
network
.
getResponse
(
params
,
BasicConfig
.
WORK_recycleList
);
int
size
=
response
.
jsonPath
().
getInt
(
"data.list.size()"
);
int
size
=
response
.
jsonPath
().
getInt
(
"data.list.size()"
);
Assert
.
assertTrue
(
size
>
0
,
network
.
message
(
params
,
BasicConfig
.
WORK_recycleList
,
"查看回收池客户列表为空"
,
response
.
body
().
asString
()));
Assert
.
assertTrue
(
size
>
0
,
network
.
message
(
params
,
BasicConfig
.
WORK_recycleList
,
"查看回收池客户列表为空"
,
response
.
body
().
asString
()));
int
result
=
response
.
jsonPath
().
getInt
(
"data.list
[0].custId
"
);
int
result
=
response
.
jsonPath
().
getInt
(
"data.list
.findAll{it.custId == "
+
collectCustId
+
"}.size()
"
);
Assert
.
assertEquals
(
result
,
collectCustId
,
network
.
message
(
params
,
BasicConfig
.
WORK_recycleList
,
"回收池客户列表不包含刚刚的回收客户"
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
result
,
1
,
network
.
message
(
params
,
BasicConfig
.
WORK_recycleList
,
"回收池客户列表不包含刚刚的回收客户"
,
response
.
body
().
asString
()));
}
}
@Test
(
description
=
"认领回收池客户"
,
priority
=
52
)
@Test
(
description
=
"认领回收池客户"
,
priority
=
52
)
...
...
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