Commit 991a67fb authored by 龚小红's avatar 龚小红

Merge branch 'gifeature/20211115-gj' into 'master'

集客助手公司专区增加视频类型修复2

See merge request test-group/kejiji!168
parents ef43b427 1e988fce
......@@ -454,7 +454,7 @@ public class HomePage implements Authorization {
paramsList.put("source",1);
Response dataRes = network.getResponse(paramsList,HOME_companyGetContentList);
int totalCount = dataRes.jsonPath().getInt("data.totalCount");
int totalCountNew = companyCount-3;//因为其中还包含个视频,一个删除的文章,所以减去2
int totalCountNew = companyCount-3;//因为其中还包含2个视频,一个删除的文章,所以减去2
Assert.assertEquals(totalCount,totalCountNew,network.message(paramsList,HOME_companyGetContentList,"获取公司专区内容列表数据错误",dataRes.body().asString()));
}
......@@ -492,7 +492,7 @@ public class HomePage implements Authorization {
paramsList.put("source",1);
Response dataRes = network.getResponse(paramsList,HOME_companyGetContentList);
int totalCountNew = dataRes.jsonPath().getInt("data.totalCount");
Assert.assertEquals(totalCountNew,companyCount-1,network.message(paramsList,HOME_companyGetContentList,"获取公司专区内容列表数据错误",dataRes.body().asString()));
Assert.assertEquals(totalCountNew,companyCount-2,network.message(paramsList,HOME_companyGetContentList,"获取公司专区内容列表数据错误",dataRes.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