Commit f295dbca authored by 郭姣's avatar 郭姣

增加代理人指定中奖开关

parent 8e85ed8b
...@@ -190,7 +190,7 @@ public class Upload implements Authorization { ...@@ -190,7 +190,7 @@ public class Upload implements Authorization {
response = network.getResponse(params, UPLOAD_listV2); response = network.getResponse(params, UPLOAD_listV2);
length = response.jsonPath().getInt("data.size()"); length = response.jsonPath().getInt("data.size()");
contentType = response.jsonPath().getString("data[0].contentType"); contentType = response.jsonPath().getString("data[0].contentType");
Assert.assertEquals(length, 1, network.message(params, UPLOAD_listV2,"获取我的上传-视频列表内容有误",response.body().asString()));//因为有一篇抖音,一篇本地,所以数量是2 Assert.assertTrue(length>1, network.message(params, UPLOAD_listV2,"获取我的上传-视频列表内容有误",response.body().asString()));//因为有一篇抖音,一篇本地,所以数量是2
Assert.assertEquals(contentType, "video", network.message(params, UPLOAD_listV2,"获取我的上传-视频列表数量有误",response.body().asString())); Assert.assertEquals(contentType, "video", network.message(params, UPLOAD_listV2,"获取我的上传-视频列表数量有误",response.body().asString()));
//获取其他的列表 //获取其他的列表
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment