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
bf2b1013
Commit
bf2b1013
authored
Mar 09, 2023
by
龚小红
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.增加方案进度
parent
a2e74249
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
CheckTask.java
src/test/java/com/oto/cases/otoseller/CheckTask.java
+3
-3
Phone.java
src/test/java/com/oto/cases/otoseller/Phone.java
+1
-1
Work.java
src/test/java/com/oto/cases/otoseller/Work.java
+1
-1
No files found.
src/test/java/com/oto/cases/otoseller/CheckTask.java
View file @
bf2b1013
...
...
@@ -651,13 +651,13 @@ public class CheckTask implements Authorization {
otoManagerAuth
();
qualifiedKyc
(
1
,
true
);
sleep
(
1000
);
getSchemeNum
(
3
,
3
,
0
,
1
);
getSchemeNum
(
3
,
2
,
0
,
true
);
getSchemeList
(
1
,
3
,
1
);
otoPMAuth
();
qualifiedKyc
(
0
,
true
);
sleep
(
1000
);
getSchemeNum
(
3
,
3
,
0
,
0
);
getSchemeNum
(
3
,
2
,
0
,
false
);
getSchemeList
(
1
,
3
,
0
);
//其他角色不可标记kyc
...
...
@@ -746,7 +746,7 @@ public class CheckTask implements Authorization {
Assert
.
assertEquals
(
data
,
result
,
network
.
message
(
params
,
BasicConfig
.
WORK_scheme_qualified
,
"标记KYC结果非"
+
result
,
response
.
body
().
asString
()));
}
public
static
void
getSchemeNum
(
int
kycNum
,
int
schemeNum
,
int
commitPlanNum
,
Integer
hasQualifiedKyc
){
public
static
void
getSchemeNum
(
int
kycNum
,
int
schemeNum
,
int
commitPlanNum
,
Object
hasQualifiedKyc
){
HashMap
<
String
,
Object
>
params
=
new
HashMap
<>();
params
.
put
(
"custId"
,
cust_id
);
Response
response
=
network
.
getResponse
(
params
,
BasicConfig
.
WORK_scheme_getNum
);
...
...
src/test/java/com/oto/cases/otoseller/Phone.java
View file @
bf2b1013
...
...
@@ -727,7 +727,7 @@ public class Phone implements Authorization {
@Test
(
description
=
"方案讲解历史更新"
,
priority
=
67
)
public
void
方案讲解历史更新
(){
getSchemeNum
(
3
,
2
,
2
,
0
);
getSchemeNum
(
3
,
2
,
2
,
true
);
getSchemeList
(
3
,
2
,
0
);
}
...
...
src/test/java/com/oto/cases/otoseller/Work.java
View file @
bf2b1013
...
...
@@ -449,7 +449,7 @@ public class Work implements Authorization {
params
.
put
(
"birthdayTime"
,
System
.
currentTimeMillis
()-
86400000
);
params
.
put
(
"custAddress"
,
"老的客户住址"
);
params
.
put
(
"custGender"
,
1
);
Response
response
=
network
.
ge
tResponse
(
params
,
BasicConfig
.
WORK_updateInfo
);
Response
response
=
network
.
pos
tResponse
(
params
,
BasicConfig
.
WORK_updateInfo
);
int
size
=
response
.
jsonPath
().
getInt
(
"data.liveDynamicListVoList.size()"
);
Assert
.
assertEquals
(
size
,
0
,
network
.
message
(
params
,
BasicConfig
.
WORK_updateInfo
,
"直播动态错误"
,
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