public static AdminUserRegistrationData EditAdminUserData( string username, string role, string firstName, string lastName, string status, string licensee, string brand, string currency, string description) { var result = new AdminUserRegistrationData() { UserName = username + 2, Role = role, FirstName = firstName + 2, LastName = lastName + 2, Status = status, Licensee = licensee, Brand = brand, Currency = currency, Description = description + 2, }; return(result); }
public static AdminUserRegistrationData CreateAdminUserRegistrationDataExceedsMaxLimit( string role, string status, string licensee, string brand, string currency) { var password = GetRandomString(51); var result = new AdminUserRegistrationData() { UserName = "******" + GetRandomString(51), Password = password, RepeatPassword = password, Role = role, FirstName = GetRandomString(51), LastName = GetRandomString(51), Status = status, Description = GetRandomString(201), Licensee = licensee, Brand = brand, Currency = currency }; return(result); }
public static AdminUserRegistrationData CreateValidAdminUserRegistrationData( string role, string status, string licensee, string brand, string currency) { var userName = "******" + GetRandomString(5); var result = new AdminUserRegistrationData() { UserName = userName, Password = userName, RepeatPassword = userName, Role = role, FirstName = "First-name" + GetRandomString(5), LastName = "Last-name" + GetRandomString(5), Status = status, Licensee = licensee, Brand = brand, Currency = currency, Description = "Description" + GetRandomString(5), }; return(result); }