13 references to GetLockoutEnabledAsync
Microsoft.AspNetCore.Identity.Specification.Tests (11)
UserManagerSpecificationTests.cs (11)
1157Assert.True(await mgr.GetLockoutEnabledAsync(user)); 1179Assert.True(await mgr.GetLockoutEnabledAsync(user)); 1204Assert.True(await mgr.GetLockoutEnabledAsync(user)); 1233Assert.False(await mgr.GetLockoutEnabledAsync(user)); 1235Assert.True(await mgr.GetLockoutEnabledAsync(user)); 1258Assert.True(await mgr.GetLockoutEnabledAsync(user)); 1275Assert.False(await mgr.GetLockoutEnabledAsync(user)); 1292Assert.True(await mgr.GetLockoutEnabledAsync(user)); 1306Assert.True(await mgr.GetLockoutEnabledAsync(user)); 1322Assert.True(await mgr.GetLockoutEnabledAsync(user)); 1336Assert.True(await mgr.GetLockoutEnabledAsync(user));
Microsoft.AspNetCore.Identity.Test (2)
UserManagerTest.cs (2)
1248await Assert.ThrowsAsync<NotSupportedException>(async () => await manager.GetLockoutEnabledAsync(null)); 1471async () => await manager.GetLockoutEnabledAsync(null));