qinchaoyue 4 月之前
父節點
當前提交
27cb1e55d3
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/Hotline.Application.Tests/Controller/OrderControllerTest.cs

+ 2 - 0
src/Hotline.Application.Tests/Controller/OrderControllerTest.cs

@@ -101,6 +101,7 @@ public class OrderControllerTest : TestBase
             .With(m => m.Id, Ulid.NewUlid().ToString())
             .With(m => m.CallNo, callNo)
             .With(m => m.Direction, ECallDirection.In)
+            .With(m => m.IsDeleted , false)
             .Create();
         await _callNativeRepository.AddAsync(inDto);
 
@@ -109,6 +110,7 @@ public class OrderControllerTest : TestBase
             .With(m => m.Direction, ECallDirection.Out)
             .With(m => m.CallNo, callNo)
             .With(m => m.AudioFile, string.Empty)
+            .With(m => m.IsDeleted , false)
             .Create();
         await _callNativeRepository.AddAsync(inDto2);
         var callOrder = new CallidRelation