This commit is contained in:
2020-06-02 22:19:18 +00:00
parent 245988b195
commit c239dd6b15

View File

@@ -592,7 +592,7 @@ namespace AyaNova.Util
u.UserType = userType;
u.EmployeeNumber = "A-" + (454 + SeededUserCount).ToString() + "-Y";
u.Notes = Fake.Lorem.Sentence();//Fake.Lorem.Paragraph(2);
u.Notes = Fake.Lorem.Sentence(null,5);//Fake.Lorem.Paragraph(2);
//TODO: After have USER and HEADOFFICE and VENDOR, if usertype is subcontractor or client or headoffice it needs to set a corresponding user's parent org record id to go with it
//use provided tags or generate them
if (tags == null)
@@ -785,7 +785,7 @@ namespace AyaNova.Util
UserType randomUserType = (UserType)values.GetValue(random.Next(values.Length));
o.UserType = randomUserType;
o.Notes = f.Lorem.Sentence();
o.Notes = f.Lorem.Sentence(null,5);
o.Tags = RandomTags(f);
@@ -793,7 +793,7 @@ namespace AyaNova.Util
//RANDOM CUSTOM FIELD DATA
var c1 = DateUtil.UniversalISO8661Format(f.Date.Between(DateTime.Now.AddYears(-1), DateTime.Now.AddYears(1)));
var c2 = f.Lorem.Sentence();
var c2 = f.Lorem.Sentence(null,5);
var c3 = f.Random.Int(1, 99999999);
var c4 = f.Random.Bool().ToString().ToLowerInvariant();
var c5 = f.Random.Decimal();