7 references to SetLockoutEndDateAsync
Microsoft.AspNetCore.Identity.Specification.Tests (6)
UserManagerSpecificationTests.cs (6)
1259IdentityResultAssert.IsSuccess(await mgr.SetLockoutEndDateAsync(user, new DateTimeOffset())); 1276IdentityResultAssert.IsFailure(await mgr.SetLockoutEndDateAsync(user, new DateTimeOffset()), 1307IdentityResultAssert.IsSuccess(await mgr.SetLockoutEndDateAsync(user, DateTimeOffset.UtcNow.AddSeconds(-1))); 1338IdentityResultAssert.IsSuccess(await mgr.SetLockoutEndDateAsync(user, lockoutEnd)); 1903await userMgr.SetLockoutEndDateAsync(user, null); 1908await userMgr.SetLockoutEndDateAsync(user, lockoutEndDate);
Microsoft.AspNetCore.Identity.Test (1)
UserManagerTest.cs (1)
1475async () => await manager.SetLockoutEndDateAsync(null, DateTimeOffset.UtcNow));