Fixes flaky login security test rolling a user with TOTP enabled.

This commit is contained in:
BinaryAlley committed 2026-08-18 12:56:13 -07:00
1 parent a13eeee43e
commit 3508ae346f
1 file changed
+1
@@ -264,6 +264,7 @@ public class LoginEndpointTests : IClassFixture<LuminaApiFactory>, IDisposable
LuminaDbContext dbContext = scope.ServiceProvider.GetRequiredService<LuminaDbContext>();
UserEntity user = _userEntityFixture.Create(username: _testUsername, password: _hashService.HashString("TestPass123!"));
user.TotpSecret = null;
dbContext.Users.Add(user);
await dbContext.SaveChangesAsync();