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