Do not select same bye player twice

This commit is contained in:
Quentin Rendu
2023-12-04 19:21:46 +01:00
parent 122db9347a
commit e446949c98
2 changed files with 6 additions and 2 deletions

View File

@@ -272,6 +272,7 @@ class PairingTests: TestBase() {
games = TestAPI.get("/api/tour/$id/res/$round").asArray()
}
else {
//games = TestAPI.post("/api/tour/$id/pair/$round", Json.Array(playersList.filter{it != byePlayerList[round-1]})).asArray()
games = TestAPI.post("/api/tour/$id/pair/$round", Json.Array("all")).asArray()
logger.info("games for round $round: {}", games.toString())