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
5f388511
Commit
5f388511
authored
Feb 16, 2023
by
龚小红
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
caeeab4e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Manager.java
src/test/java/com/oto/cases/otoseller/Manager.java
+2
-2
Phone.java
src/test/java/com/oto/cases/otoseller/Phone.java
+2
-2
No files found.
src/test/java/com/oto/cases/otoseller/Manager.java
View file @
5f388511
...
@@ -40,8 +40,8 @@ public class Manager implements Authorization {
...
@@ -40,8 +40,8 @@ public class Manager implements Authorization {
Response
response
=
null
;
Response
response
=
null
;
HashMap
<
String
,
Object
>
params
=
new
HashMap
<>();
HashMap
<
String
,
Object
>
params
=
new
HashMap
<>();
int
size
=
0
;
int
size
=
0
;
int
i
=
1
;
int
i
=
1
0
;
while
(
size
<
1
&&
i
<
1
0
){
while
(
size
<
1
&&
i
<
2
0
){
params
.
put
(
"pageIndex"
,
i
);
params
.
put
(
"pageIndex"
,
i
);
params
.
put
(
"pageSize"
,
"20"
);
params
.
put
(
"pageSize"
,
"20"
);
response
=
network
.
getResponse
(
params
,
BasicConfig
.
MANAGER_oto_sellerList
);
response
=
network
.
getResponse
(
params
,
BasicConfig
.
MANAGER_oto_sellerList
);
...
...
src/test/java/com/oto/cases/otoseller/Phone.java
View file @
5f388511
...
@@ -759,8 +759,8 @@ public class Phone implements Authorization {
...
@@ -759,8 +759,8 @@ public class Phone implements Authorization {
boolean
data
=
response
.
jsonPath
().
getBoolean
(
"data"
);
boolean
data
=
response
.
jsonPath
().
getBoolean
(
"data"
);
Assert
.
assertTrue
(
data
,
network
.
message
(
params
,
BasicConfig
.
WORK_delCust
,
"删除客户失败"
,
response
.
body
().
asString
()));
Assert
.
assertTrue
(
data
,
network
.
message
(
params
,
BasicConfig
.
WORK_delCust
,
"删除客户失败"
,
response
.
body
().
asString
()));
}
}
//
// for(int i =
4559;i<4984
;i++){
// for(int i =
8512;i<8552
;i++){
// HashMap<String,Object> params = new HashMap<>();
// HashMap<String,Object> params = new HashMap<>();
// params.put("custId", 7665);
// params.put("custId", 7665);
// Response response = network.postResponse(params,BasicConfig.WORK_delCust);
// Response response = network.postResponse(params,BasicConfig.WORK_delCust);
...
...
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