10 references to UpdateAsync
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (5)
UserStoreTest.cs (5)
330
IdentityResultAssert.IsSuccess(await manager1.
UpdateAsync
(role1));
331
IdentityResultAssert.IsFailure(await manager2.
UpdateAsync
(role2), new IdentityErrorDescriber().ConcurrencyFailure());
360
IdentityResultAssert.IsSuccess(await manager1.
UpdateAsync
(role));
361
IdentityResultAssert.IsFailure(await manager2.
UpdateAsync
(role2), new IdentityErrorDescriber().ConcurrencyFailure());
390
IdentityResultAssert.IsSuccess(await manager1.
UpdateAsync
(role1));
Microsoft.AspNetCore.Identity.Specification.Tests (2)
IdentitySpecificationTestBase.cs (2)
207
IdentityResultAssert.IsFailure(await manager.
UpdateAsync
(role), error);
311
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));