Remove EF query warnings from test runs
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user