14 references to GetLockoutEndDateAsync
Microsoft.AspNetCore.Identity.Specification.Tests (13)
UserManagerSpecificationTests.cs (13)
1160
Assert.True(await mgr.
GetLockoutEndDateAsync
(user) > DateTimeOffset.UtcNow.AddMinutes(55));
1182
Assert.False(await mgr.
GetLockoutEndDateAsync
(user) > DateTimeOffset.UtcNow.AddMinutes(55));
1186
Assert.True(await mgr.
GetLockoutEndDateAsync
(user) > DateTimeOffset.UtcNow.AddMinutes(55));
1207
Assert.False(await mgr.
GetLockoutEndDateAsync
(user) > DateTimeOffset.UtcNow.AddMinutes(55));
1212
Assert.False(await mgr.
GetLockoutEndDateAsync
(user) > DateTimeOffset.UtcNow.AddMinutes(55));
1215
Assert.False(await mgr.
GetLockoutEndDateAsync
(user) > DateTimeOffset.UtcNow.AddMinutes(55));
1238
Assert.False(await mgr.
GetLockoutEndDateAsync
(user) > DateTimeOffset.UtcNow.AddMinutes(55));
1242
Assert.True(await mgr.
GetLockoutEndDateAsync
(user) > DateTimeOffset.UtcNow.AddMinutes(55));
1260
Assert.Equal(new DateTimeOffset(), await mgr.
GetLockoutEndDateAsync
(user));
1339
var end = await mgr.
GetLockoutEndDateAsync
(user);
1899
Assert.Null(await userMgr.
GetLockoutEndDateAsync
(user));
1903
Assert.Null(await userMgr.
GetLockoutEndDateAsync
(user));
1908
Assert.Equal(lockoutEndDate, await userMgr.
GetLockoutEndDateAsync
(user));
Microsoft.AspNetCore.Identity.Test (1)
UserManagerTest.cs (1)
1141
async () => await manager.
GetLockoutEndDateAsync
(null));