Skip to content

Commit

Permalink
Update with missing rate
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnwildermuth committed Mar 4, 2024
1 parent 12f7f1d commit 503c34c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Data/Fakers/TicketFaker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ protected TicketFaker()
.RuleFor(t => t.Hours, f => f.Random.Number(0, 80) / 10)
.RuleFor(t => t.WorkPerformed, f => f.Hacker.Phrase())
.RuleFor(t => t.EmployeeId, f => _employees.ElementAt(f.Random.Number(0, 9)).Id)
.RuleFor(t => t.ProjectId, f => _projects.ElementAt(f.Random.Number(0, 24)).Id);
.RuleFor(t => t.ProjectId, f => _projects.ElementAt(f.Random.Number(0, 24)).Id)
.RuleFor(t => t.BillingRate, f => _employees.ElementAt(f.Random.Number(0, 9)).BillingRate);
}

public static List<Ticket> Generate() => new TicketFaker().Generate(100);
Expand Down

0 comments on commit 503c34c

Please sign in to comment.