mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-07 16:19:07 +00:00
fix(tests): pass userDataService in comment service unit test
This commit is contained in:
parent
5f5fd6445d
commit
188b4f0c58
1 changed files with 2 additions and 1 deletions
|
|
@ -311,7 +311,8 @@ public class WorkOrderCommentServiceTests
|
|||
|
||||
var detailData = new WorkOrderDetailDataService(context);
|
||||
var commentData = new CommentDataService(context);
|
||||
var service = new WorkOrderCommentService(detailData, commentData);
|
||||
var userData = new UserDataService(context);
|
||||
var service = new WorkOrderCommentService(detailData, commentData, userData);
|
||||
|
||||
var result = await service.AddCommentAsync(1, new WorkOrderCommentCreateDto { Text = "Note" }, "user-abc");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue