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
87b0a059
Commit
87b0a059
authored
Sep 21, 2022
by
龚小红
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.增加约面日历和非一面面访信息维护
parent
1fbab9a0
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/oto/cases/otoseller/Work.java
+2
-2
No files found.
src/test/java/com/oto/cases/otoseller/Work.java
View file @
87b0a059
...
...
@@ -1054,7 +1054,7 @@ public class Work implements Authorization {
HashMap
<
String
,
Object
>
params
=
new
HashMap
<>();
String
list
[]
=
{
"01"
,
"02"
,
"03"
,
"04"
};
params
.
put
(
"custSourceList"
,
list
);
//客户来源
params
.
put
(
"custType"
,
3
);
//1:全部客户;2:新客户;3:老客户
params
.
put
(
"custType"
,
2
);
//1:全部客户;2:新客户;3:老客户
params
.
put
(
"id"
,
4
);
params
.
put
(
"limitGoalFlag"
,
0
);
params
.
put
(
"taskUsable"
,
0
);
//0:任务状态关闭;1:任务状态开启
...
...
@@ -1066,7 +1066,7 @@ public class Work implements Authorization {
Response
listRes
=
network
.
getResponse
(
BasicConfig
.
WORK_taskConfList
);
int
custType
=
listRes
.
jsonPath
().
getInt
(
"data[0].custType"
);
int
custSourceList
=
listRes
.
jsonPath
().
getInt
(
"data[0].custSourceList.size()"
);
Assert
.
assertEquals
(
custType
,
3
,
network
.
message
(
BasicConfig
.
WORK_taskConfList
,
"修改任务配置失败"
,
listRes
.
body
().
asString
()));
Assert
.
assertEquals
(
custType
,
2
,
network
.
message
(
BasicConfig
.
WORK_taskConfList
,
"修改任务配置失败"
,
listRes
.
body
().
asString
()));
Assert
.
assertEquals
(
custSourceList
,
4
,
network
.
message
(
BasicConfig
.
WORK_taskConfList
,
"修改任务配置失败"
,
listRes
.
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