Commit d7339e21 authored by 龚小红's avatar 龚小红

test

parent 375af4e7
package com.kjj.cases.assistant; package com.kjj.cases.assistant;
import static com.kjj.config.BasicConfig.*; import static com.kjj.config.BasicConfig.*;
import com.kjj.cases.admin.Authorization; import com.kjj.cases.admin.Authorization;
import com.kjj.utils.BaseUtils; import com.kjj.utils.BaseUtils;
import com.kjj.utils.ThreadSleepUtils; import com.kjj.utils.ThreadSleepUtils;
......
...@@ -129,13 +129,6 @@ public class Article { ...@@ -129,13 +129,6 @@ public class Article {
String scId = response.jsonPath().getString("data.scid"); String scId = response.jsonPath().getString("data.scid");
String name = response.jsonPath().getString("data.sellerName"); String name = response.jsonPath().getString("data.sellerName");
Assert.assertEquals(name,sellerName,"头部名片信息显示有误"); Assert.assertEquals(name,sellerName,"头部名片信息显示有误");
//获取名片的点赞
Map<String, Object> likeParams = new HashMap<String, Object>();
likeParams.put("scId",scId);
response = network.getResponse(likeParams,HASALREADYLIKE);
boolean favourResult = response.jsonPath().getBoolean("data.favourResult");
Assert.assertTrue(favourResult,"头部名片点赞数量显示有误");
} }
// 底部名片 // 底部名片
......
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