5 references to DeleteAsync
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (2)
SqlStoreTestBase.cs (1)
170
IdentityResultAssert.IsSuccess(await roleMgr.
DeleteAsync
(role));
UserStoreTest.cs (1)
383
IdentityResultAssert.IsFailure(await manager2.
DeleteAsync
(role2), new IdentityErrorDescriber().ConcurrencyFailure());
Microsoft.AspNetCore.Identity.Specification.Tests (1)
IdentitySpecificationTestBase.cs (1)
223
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));