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