6 overrides of CreateTestUser
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (4)
SqlStoreOnlyUsersTestBase.cs (1)
31
protected override TUser
CreateTestUser
(string namePrefix = "", string email = "", string phoneNumber = "",
SqlStoreTestBase.cs (1)
64
protected override TUser
CreateTestUser
(string namePrefix = "", string email = "", string phoneNumber = "",
UserStoreTest.cs (1)
389
protected override IdentityUser
CreateTestUser
(string namePrefix = "", string email = "", string phoneNumber = "",
UserStoreWithGenericsTest.cs (1)
44
protected override IdentityUserWithGenerics
CreateTestUser
(string namePrefix = "", string email = "", string phoneNumber = "",
Microsoft.AspNetCore.Identity.InMemory.Test (2)
InMemoryStoreTest.cs (1)
33
protected override PocoUser
CreateTestUser
(string namePrefix = "", string email = "", string phoneNumber = "",
InMemoryUserStoreTest.cs (1)
29
protected override PocoUser
CreateTestUser
(string namePrefix = "", string email = "", string phoneNumber = "",
102 references to CreateTestUser
Microsoft.AspNetCore.Identity.Specification.Tests (102)
IdentitySpecificationTestBase.cs (9)
370
CreateTestUser
("1"),
CreateTestUser
("2"),
CreateTestUser
("3"),
CreateTestUser
("4"),
428
var user =
CreateTestUser
();
483
var user =
CreateTestUser
();
503
var user =
CreateTestUser
();
524
var user =
CreateTestUser
();
581
var user =
CreateTestUser
();
UserManagerSpecificationTests.cs (93)
178
var user =
CreateTestUser
();
193
var user =
CreateTestUser
();
206
var user =
CreateTestUser
();
222
var user =
CreateTestUser
(name);
242
var user =
CreateTestUser
(username, useNamePrefixAsUserName: true);
249
var newUser =
CreateTestUser
(username, useNamePrefixAsUserName: true);
270
var user =
CreateTestUser
(username, useNamePrefixAsUserName: true);
287
var user =
CreateTestUser
(username, useNamePrefixAsUserName: true);
306
var user =
CreateTestUser
(email: email);
310
var newUser =
CreateTestUser
(email: email);
324
var user =
CreateTestUser
("UpdatePassword");
344
var user =
CreateTestUser
();
357
var user =
CreateTestUser
();
372
var user =
CreateTestUser
();
389
var user =
CreateTestUser
();
408
var user =
CreateTestUser
();
423
var user =
CreateTestUser
("UpdateBlocked", email);
436
var user =
CreateTestUser
();
456
var user =
CreateTestUser
();
471
var user =
CreateTestUser
();
486
var user =
CreateTestUser
();
502
var user =
CreateTestUser
();
524
var user =
CreateTestUser
();
541
var user =
CreateTestUser
();
557
IdentityResultAssert.IsSuccess(await manager.CreateAsync(
CreateTestUser
(username, useNamePrefixAsUserName: true)));
577
var user =
CreateTestUser
();
597
var user =
CreateTestUser
();
620
var user =
CreateTestUser
();
636
var user =
CreateTestUser
();
667
var user =
CreateTestUser
("CanRemovePassword");
687
var user =
CreateTestUser
();
707
var user =
CreateTestUser
();
736
var user =
CreateTestUser
();
737
var user2 =
CreateTestUser
();
769
var user =
CreateTestUser
();
792
var user =
CreateTestUser
();
793
var user2 =
CreateTestUser
();
825
var user =
CreateTestUser
();
841
var user =
CreateTestUser
(username, useNamePrefixAsUserName: true);
842
var user2 =
CreateTestUser
(username, useNamePrefixAsUserName: true);
855
var user =
CreateTestUser
(email: "yup@yup.com");
856
var user2 =
CreateTestUser
(email: "yup@yup.com");
871
var user =
CreateTestUser
(email: "FooUser@yup.com");
872
var user2 =
CreateTestUser
(email: "FooUser@yup.com");
885
var user =
CreateTestUser
();
900
var user =
CreateTestUser
();
920
var user =
CreateTestUser
(email: email);
954
var user =
CreateTestUser
();
992
var user =
CreateTestUser
();
1017
var user =
CreateTestUser
();
1043
var user =
CreateTestUser
();
1064
var user =
CreateTestUser
();
1065
var user2 =
CreateTestUser
();
1093
var user =
CreateTestUser
();
1115
var user =
CreateTestUser
();
1131
var user =
CreateTestUser
(namePrefix: "Test");
1154
var user =
CreateTestUser
();
1176
var user =
CreateTestUser
();
1201
var user =
CreateTestUser
();
1230
var user =
CreateTestUser
();
1255
var user =
CreateTestUser
();
1272
var user =
CreateTestUser
();
1289
var user =
CreateTestUser
(lockoutEnd: DateTimeOffset.UtcNow.AddSeconds(-1));
1303
var user =
CreateTestUser
();
1319
var user =
CreateTestUser
(lockoutEnd: lockoutEnd);
1333
var user =
CreateTestUser
();
1351
var user =
CreateTestUser
(phoneNumber: "123-456-7890");
1368
var user =
CreateTestUser
(phoneNumber: "123-456-7890");
1387
var user =
CreateTestUser
(phoneNumber: "123-456-7890");
1401
var user =
CreateTestUser
(phoneNumber: "123-456-7890");
1435
var user =
CreateTestUser
(phoneNumber: "123-456-7890");
1453
var user =
CreateTestUser
(phoneNumber: "123-456-7890");
1473
var user =
CreateTestUser
();
1498
var user =
CreateTestUser
("foouser");
1520
var user =
CreateTestUser
("foouser");
1547
var user =
CreateTestUser
("foouser");
1569
var user =
CreateTestUser
("foouser");
1592
var user =
CreateTestUser
("foouser");
1615
var user =
CreateTestUser
("foouser");
1640
var user =
CreateTestUser
("foouser");
1669
var user =
CreateTestUser
();
1686
var user =
CreateTestUser
();
1711
var user =
CreateTestUser
();
1726
var user =
CreateTestUser
();
1750
var user =
CreateTestUser
();
1778
var user =
CreateTestUser
();
1806
var user =
CreateTestUser
();
1847
var user =
CreateTestUser
(phoneNumber: "4251234567");
1866
var user =
CreateTestUser
(phoneNumber: "4251234567");
1882
var user =
CreateTestUser
(phoneNumber: "4251234567");
1896
var user =
CreateTestUser
(lockoutEnabled: true);
1922
var user =
CreateTestUser
();
1947
users.Add(
CreateTestUser
(userNamePrefix + i));