Require suggestion before entering vote phase
This commit is contained in:
@@ -43,7 +43,7 @@ public class ResultsTests
|
||||
await using var factory = new TestWebApplicationFactory();
|
||||
var client = factory.CreateClientWithCookies();
|
||||
await client.RegisterAsync("user");
|
||||
await client.PostAsJsonAsync("/api/me/phase/next", new { });
|
||||
await client.AdvanceToVoteAsync("Results locked seed");
|
||||
var resp = await client.GetAsync("/api/results");
|
||||
Assert.Equal(System.Net.HttpStatusCode.BadRequest, resp.StatusCode);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user