10 references to UpdateAsync
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (5)
UserStoreTest.cs (5)
322
IdentityResultAssert.IsSuccess(await manager1.
UpdateAsync
(role1));
323
IdentityResultAssert.IsFailure(await manager2.
UpdateAsync
(role2), new IdentityErrorDescriber().ConcurrencyFailure());
352
IdentityResultAssert.IsSuccess(await manager1.
UpdateAsync
(role));
353
IdentityResultAssert.IsFailure(await manager2.
UpdateAsync
(role2), new IdentityErrorDescriber().ConcurrencyFailure());
382
IdentityResultAssert.IsSuccess(await manager1.
UpdateAsync
(role1));
Microsoft.AspNetCore.Identity.Specification.Tests (2)
IdentitySpecificationTestBase.cs (2)
206
IdentityResultAssert.IsFailure(await manager.
UpdateAsync
(role), error);
310
IdentityResultAssert.IsSuccess(await manager.
UpdateAsync
(role));
Microsoft.AspNetCore.Identity.Test (3)
RoleManagerTest.cs (3)
43
var result = await roleManager.
UpdateAsync
(role);
127
await Assert.ThrowsAsync<ArgumentNullException>("role", async () => await manager.
UpdateAsync
(null));
142
await Assert.ThrowsAsync<ObjectDisposedException>(() => manager.
UpdateAsync
(null));