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

@@ -71,7 +71,7 @@ public class AuthTests
await factory.WithDbContextAsync(async db =>
{
var player = await db.Players.FirstAsync();
var player = await db.Players.SingleAsync();
player.DisplayName = null;
player.LastLoginAt = DateTimeOffset.UnixEpoch;
await db.SaveChangesAsync();