Commit 75b3d8cc authored by 龚小红's avatar 龚小红

增加亲友抽奖券的代码

parent de9cd227
...@@ -229,12 +229,16 @@ public interface Authorization { ...@@ -229,12 +229,16 @@ public interface Authorization {
network.agentCookies.put("authKey", visitorAuth25); network.agentCookies.put("authKey", visitorAuth25);
System.out.println("用户AUTH_KEY:" + visitorAuth25); System.out.println("用户AUTH_KEY:" + visitorAuth25);
} }
//访客X(亦心)ID:96 实名 //访客X(Xmz)ID:96 实名
default void visitorAuth26() { default void visitorAuth26() {
network.agentCookies.put("authKey", visitorAuth26); network.agentCookies.put("authKey", visitorAuth26);
System.out.println("用户AUTH_KEY:" + visitorAuth26); System.out.println("用户AUTH_KEY:" + visitorAuth26);
} }
//访客X(Db)ID:96 实名
default void visitorAuth27() {
network.agentCookies.put("authKey", visitorAuth27);
System.out.println("用户AUTH_KEY:" + visitorAuth27);
}
} }
...@@ -5,6 +5,7 @@ import com.kjj.bean.agent.LiveUserList; ...@@ -5,6 +5,7 @@ import com.kjj.bean.agent.LiveUserList;
import com.kjj.cases.admin.Authorization; import com.kjj.cases.admin.Authorization;
import com.kjj.config.BasicConfig; import com.kjj.config.BasicConfig;
import com.kjj.constants.LiveConstants; import com.kjj.constants.LiveConstants;
import com.kjj.utils.IdMakeUtil;
import com.kjj.utils.JsonUtil; import com.kjj.utils.JsonUtil;
import com.kjj.utils.ThreadSleepUtils; import com.kjj.utils.ThreadSleepUtils;
import io.restassured.response.Response; import io.restassured.response.Response;
...@@ -20,6 +21,7 @@ public class LiveLater implements Authorization { ...@@ -20,6 +21,7 @@ public class LiveLater implements Authorization {
public String pageSize; public String pageSize;
public List<LiveUserList> liveUserId; public List<LiveUserList> liveUserId;
@BeforeClass @BeforeClass
public void setUp() { agentAuth(); } public void setUp() { agentAuth(); }
......
...@@ -589,7 +589,6 @@ public class Lottery implements Authorization { ...@@ -589,7 +589,6 @@ public class Lottery implements Authorization {
long data = myCountRes.jsonPath().getLong("data"); long data = myCountRes.jsonPath().getLong("data");
System.out.println(data); System.out.println(data);
Assert.assertNotNull(data, network.message(myCountParam, BasicConfig.USER_myCount, "获取抽奖码数量失败", myCountRes.body().asString())); Assert.assertNotNull(data, network.message(myCountParam, BasicConfig.USER_myCount, "获取抽奖码数量失败", myCountRes.body().asString()));
} }
@Test(description = "幸运任务邀请E关系绑定", priority = 42) @Test(description = "幸运任务邀请E关系绑定", priority = 42)
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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