From: Carl Worth Date: Fri, 26 Jun 2020 14:26:05 +0000 (-0700) Subject: Expand test suite to include testing of auto-phase advancement X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=c79d4a69a16751758d627a57bea93db9ac712888;hp=c79d4a69a16751758d627a57bea93db9ac712888;p=lmno-server Expand test suite to include testing of auto-phase advancement The previous commit makes it so that when all involved players are ready to move on, (such as, everyone has submitted their answers), the game automatically advances to the next phase. This breaks some existing tests, which had been expecting the game to wait for everyone to vote to advance (the old, clunky behavior). In this commit, we fix the test suite to expect the auto advancing in the first ame (while also adding a check to ensure it doesn't auto-advance until the last player is ready). We also add a second game where auto advancing doesn't happen, (one player is never ready) but a majority of the remaining players vote to advance without them. These tests do exhibit a couple of bugs in the current implementation, (so some failures are expected here). These failures will be fixed in the immediately following commits. ---