7 references to SetLockoutEndDateAsync
Microsoft.AspNetCore.Identity.Specification.Tests (6)
UserManagerSpecificationTests.cs (6)
1258IdentityResultAssert.IsSuccess(await mgr.SetLockoutEndDateAsync(user, new DateTimeOffset())); 1275IdentityResultAssert.IsFailure(await mgr.SetLockoutEndDateAsync(user, new DateTimeOffset()), 1306IdentityResultAssert.IsSuccess(await mgr.SetLockoutEndDateAsync(user, DateTimeOffset.UtcNow.AddSeconds(-1))); 1337IdentityResultAssert.IsSuccess(await mgr.SetLockoutEndDateAsync(user, lockoutEnd)); 1902await userMgr.SetLockoutEndDateAsync(user, null); 1907await userMgr.SetLockoutEndDateAsync(user, lockoutEndDate);
Microsoft.AspNetCore.Identity.Test (1)
UserManagerTest.cs (1)
1139async () => await manager.SetLockoutEndDateAsync(null, DateTimeOffset.UtcNow));