8 references to FindByIdAsync
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (5)
UserStoreTest.cs (5)
315
var role1 = await manager1.
FindByIdAsync
(role.Id);
316
var role2 = await manager2.
FindByIdAsync
(role.Id);
346
var role2 = await manager2.
FindByIdAsync
(role.Id);
376
var role1 = await manager1.
FindByIdAsync
(role.Id);
377
var role2 = await manager2.
FindByIdAsync
(role.Id);
Microsoft.AspNetCore.Identity.Specification.Tests (2)
IdentitySpecificationTestBase.cs (2)
275
Assert.Null(await manager.
FindByIdAsync
(await manager.GetRoleIdAsync(role)));
277
Assert.Equal(role, await manager.
FindByIdAsync
(await manager.GetRoleIdAsync(role)));
Microsoft.AspNetCore.Identity.Test (1)
RoleManagerTest.cs (1)
138
await Assert.ThrowsAsync<ObjectDisposedException>(() => manager.
FindByIdAsync
(null));