10 references to UpdateAsync
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (5)
UserStoreTest.cs (5)
325
IdentityResultAssert.IsSuccess(await manager1.
UpdateAsync
(role1));
326
IdentityResultAssert.IsFailure(await manager2.
UpdateAsync
(role2), new IdentityErrorDescriber().ConcurrencyFailure());
355
IdentityResultAssert.IsSuccess(await manager1.
UpdateAsync
(role));
356
IdentityResultAssert.IsFailure(await manager2.
UpdateAsync
(role2), new IdentityErrorDescriber().ConcurrencyFailure());
385
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));