private TestInfo GetDefaultTestInfo() { return(new TestInfo { ExitedUsers = UserGenerator.GetFakeUsers(2), NewUser = DtoUserGenerator.GetUserWithRole(Roles.Admin), Roles = RoleGenerator.GetFakeRole(1), IsPasswordValid = true, IsEmailConfirmed = true }); }
private TestInfo GetDefaultTestInfo() { var users = UserGenerator.GetFakeUsers(2); return(new TestInfo { Users = users, Profiles = users.Select(u => new UserProfile { Id = u.Id }).ToList() }); }