Correct missing result in round 1 of test 9

This commit is contained in:
Quentin Rendu
2023-11-29 11:09:18 +01:00
parent 64ec62ae21
commit 122db9347a
2 changed files with 17 additions and 3 deletions

View File

@@ -282,7 +282,7 @@ class PairingTests: TestBase() {
logger.info("games for round $round: {}", games.toString())
firstGameID = (games.getJson(0)!!.asObject()["id"] as Long?)!!.toInt()
for (gameID in firstGameID..firstGameID + 15) {
for (gameID in firstGameID..firstGameID + 16) {
resp = TestAPI.put("/api/tour/$id/res/$round", Json.parse("""{"id":$gameID,"result":"b"}""")).asObject()
assertTrue(resp.getBoolean("success") == true, "expecting success")
}