Commit 300ec162 authored by 龚小红's avatar 龚小红

删除企业后台的自动化测试

parent 2d6ca234
......@@ -65,10 +65,13 @@ public class PersonCard implements Authorization {
boolean success = response.jsonPath().getBoolean("success");
Object data = response.jsonPath().getJsonObject("data");
WechatCard card = JsonUtil.parseResponseToBean(response,WechatCard.class);
System.out.println(response.body().asString());
String screenshotUrl= response.jsonPath().getString("data.screenshotUrl");
String avatar= response.jsonPath().getString("data.screenshotUrl");
scid = response.jsonPath().getString("data.scid");
Assert.assertTrue(success,network.message(SELLERCARD_topOfDetail,"接口返回失败状态",response.body().asString()));
Assert.assertNotNull(data,network.message(SELLERCARD_topOfDetail,"返回数据为空",response.body().asString()));
Assert.assertNotNull(screenshotUrl,network.message(SELLERCARD_topOfDetail,"返回数据为空",response.body().asString()));
Assert.assertNotNull(avatar,network.message(SELLERCARD_topOfDetail,"返回数据为空",response.body().asString()));
Assert.assertEquals(card.getSellerName(),"吉吉",network.message(SELLERCARD_topOfDetail,"名片信息错误",response.body().asString()));
Assert.assertEquals(card.getJobPost(),"嘿嘿嘿",network.message(SELLERCARD_topOfDetail,"名片信息错误",response.body().asString()));
Assert.assertEquals(card.getPhoneNumber(),"13012341234",network.message(SELLERCARD_topOfDetail,"名片信息错误",response.body().asString()));
......
......@@ -277,10 +277,5 @@
<class name="com.kjj.cases.live.treasure.GoldenEgg" />
</classes>
</test>
<test preserve-order="true" name="企业后台后台配置">
<classes>
<class name="com.kjj.cases.live.Corp.ManageCorp" />
</classes>
</test>
</suite>
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