Commit 8be2defb authored by 张震's avatar 张震

Boss看板优化调整

parent b9038e04
...@@ -28,7 +28,7 @@ public class Boss { ...@@ -28,7 +28,7 @@ public class Boss {
public void setUp() { public void setUp() {
} }
//BOSS看板正式版
//判断代理人的会员及版本 //判断代理人的会员及版本
@Test(description="会员及版本判断",priority = 1) @Test(description="会员及版本判断",priority = 1)
public void 会员及版本判断() throws IOException{ public void 会员及版本判断() throws IOException{
...@@ -102,6 +102,13 @@ public class Boss { ...@@ -102,6 +102,13 @@ public class Boss {
Response response = network.getResponse(params,BOSS_BOUND); Response response = network.getResponse(params,BOSS_BOUND);
boolean data = response.jsonPath().getBoolean("data"); //1 true:邀请成功;2 false:邀请失败 boolean data = response.jsonPath().getBoolean("data"); //1 true:邀请成功;2 false:邀请失败
Assert.assertTrue(data, network.message(params,BOSS_BOUND,"接受邀请失败")); Assert.assertTrue(data, network.message(params,BOSS_BOUND,"接受邀请失败"));
//获取被邀请人上级昵称
Map<String, Object> inviteparams = new HashMap<String, Object>();
params.put("sellerId",usellerId);
Response responses = network.getResponse(inviteparams,BOSS_BOSS);
String datae = responses.jsonPath().getString("data");
Assert.assertEquals(datae,"$张",network.message(params,BOSS_BOSS,"昵称不匹配"));
} }
...@@ -184,4 +191,7 @@ public class Boss { ...@@ -184,4 +191,7 @@ public class Boss {
apiCount += 8; apiCount += 8;
} }
}
\ No newline at end of file }
...@@ -23,8 +23,8 @@ public class BasicConfig { ...@@ -23,8 +23,8 @@ public class BasicConfig {
public static final String HOST = "https://kjj.m.duibatest.com.cn"; // "https://kjj.m.duiba.com.cn"; public static final String HOST = "https://kjj.m.duibatest.com.cn"; // "https://kjj.m.duiba.com.cn";
// *************** TKU *************** // *************** TKU ***************
// public static final String VISITOR_TKU = "T3gM31f18jAW31GHJuxJmoCFoANch7fXayUgd4zHHg2hpXAyjSrevfGfzyNfVoHzSvenik8qR9nTEkCSy6"; public static final String VISITOR_TKU = "T3gM31f18jAW31GHJuxJmoCFoANch7fXayUgd4zHHg2hpXAyjSrevfGfzyNfVoHzSvenik8qR9nTEkCSy6";
public static final String VISITOR_TKU = "T3gM31f18jAW2hicRDxbwHFSuwA4MMVLLeHZ5G4yvb3kN3PcWwcLdzfxPp2gghfE4x3BFH8JN3f8PUzQ6W"; // public static final String VISITOR_TKU = "T3gM31f18jAW2hicRDxbwHFSuwA4MMVLLeHZ5G4yvb3kN3PcWwcLdzfxPp2gghfE4x3BFH8JN3f8PUzQ6W";
// *************** 素材ID *************** // *************** 素材ID ***************
public static final String ARTICLE_CONTENTID = "Kj21NjM4NDc"; public static final String ARTICLE_CONTENTID = "Kj21NjM4NDc";
......
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