Remove EF query warnings from test runs

This commit is contained in:
2026-02-07 13:46:46 +01:00
parent 86310804fa
commit 47fbec4512
10 changed files with 37 additions and 36 deletions

View File

@@ -98,7 +98,7 @@ public class VoteTests
await factory.WithDbContextAsync(async db =>
{
var p = await db.Players.FirstAsync();
var p = await db.Players.SingleAsync();
p.DisplayName = null;
await db.SaveChangesAsync();
});