9 references to Users
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (9)
SqlStoreOnlyUsersTestBase.cs (3)
125
db.
Users
.Add(user);
127
Assert.True(db.
Users
.Any(u => u.UserName == user.UserName));
128
Assert.NotNull(db.
Users
.FirstOrDefault(u => u.UserName == user.UserName));
SqlStoreTestBase.cs (3)
224
db.
Users
.Add(user);
226
Assert.True(db.
Users
.Any(u => u.UserName == user.UserName));
227
Assert.NotNull(db.
Users
.FirstOrDefault(u => u.UserName == user.UserName));
UserStoreTest.cs (3)
34
db.
Users
.Add(new IdentityUser { Id = guid, UserName = guid });
36
Assert.True(db.
Users
.Any(u => u.UserName == guid));
37
Assert.NotNull(db.
Users
.FirstOrDefault(u => u.UserName == guid));