|
@@ -29,7 +29,7 @@ let agentId = 0;
|
|
|
|
|
|
const createAgent = () => {
|
|
|
agentId += 1;
|
|
|
- const nickName = `test_name_${agentId}`;
|
|
|
+ const nickName = `test_name_${userStartId}${agentId}`;
|
|
|
const userId = `${userStartId}${agentId}`;
|
|
|
const role = agentId === 1 ? "leader" : "customer";
|
|
|
createClient({ userId, nickName, from: "0", role: role });
|