Fix test harness casing and exclude test sources from app

This commit is contained in:
2026-02-05 17:51:36 +01:00
parent 7e2d9ba9b8
commit f2f1784ae8
7 changed files with 14 additions and 7 deletions

View File

@@ -52,8 +52,9 @@ public class VoteTests
vote.EnsureSuccessStatusCode();
var mine = await player.GetFromJsonAsync<List<VoteRecord>>("/api/votes/mine");
Assert.NotNull(mine);
Assert.Equal(2, mine.Count);
Assert.Equal(2, mine!.Count);
Assert.All(mine, v => Assert.Equal(9, v.Score));
}