5 references to DeleteAsync
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (2)
SqlStoreTestBase.cs (1)
171
IdentityResultAssert.IsSuccess(await roleMgr.
DeleteAsync
(role));
UserStoreTest.cs (1)
385
IdentityResultAssert.IsFailure(await manager2.
DeleteAsync
(role2), new IdentityErrorDescriber().ConcurrencyFailure());
Microsoft.AspNetCore.Identity.Specification.Tests (1)
IdentitySpecificationTestBase.cs (1)
224
IdentityResultAssert.IsSuccess(await manager.
DeleteAsync
(role));
Microsoft.AspNetCore.Identity.Test (2)
RoleManagerTest.cs (2)
128
await Assert.ThrowsAsync<ArgumentNullException>("role", async () => await manager.
DeleteAsync
(null));
143
await Assert.ThrowsAsync<ObjectDisposedException>(() => manager.
DeleteAsync
(null));