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
f295dbca
Commit
f295dbca
authored
Nov 17, 2021
by
郭姣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加代理人指定中奖开关
parent
8e85ed8b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Upload.java
src/test/java/com/kjj/cases/assistant/homePage/Upload.java
+1
-1
No files found.
src/test/java/com/kjj/cases/assistant/homePage/Upload.java
View file @
f295dbca
...
...
@@ -190,7 +190,7 @@ public class Upload implements Authorization {
response
=
network
.
getResponse
(
params
,
UPLOAD_listV2
);
length
=
response
.
jsonPath
().
getInt
(
"data.size()"
);
contentType
=
response
.
jsonPath
().
getString
(
"data[0].contentType"
);
Assert
.
assert
Equals
(
length
,
1
,
network
.
message
(
params
,
UPLOAD_listV2
,
"获取我的上传-视频列表内容有误"
,
response
.
body
().
asString
()));
//因为有一篇抖音,一篇本地,所以数量是2
Assert
.
assert
True
(
length
>
1
,
network
.
message
(
params
,
UPLOAD_listV2
,
"获取我的上传-视频列表内容有误"
,
response
.
body
().
asString
()));
//因为有一篇抖音,一篇本地,所以数量是2
Assert
.
assertEquals
(
contentType
,
"video"
,
network
.
message
(
params
,
UPLOAD_listV2
,
"获取我的上传-视频列表数量有误"
,
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