Fix tests

This commit is contained in:
Mattia Migliorini
2026-03-19 11:41:13 +01:00
parent 0341df79ef
commit d436a5d5d4
+1 -1
View File
@@ -172,7 +172,7 @@ describe("assignTeams", () => {
describe("computeClanTeamName", () => {
const human = (id: string, clan?: string): PlayerInfo => {
const name = clan ? `[${clan}]Player${id}` : `Player${id}`;
return new PlayerInfo(name, PlayerType.Human, null, id);
return new PlayerInfo(name, PlayerType.Human, null, id, false, clan ?? null);
};
const bot = (id: string): PlayerInfo =>