qinchaoyue 6 ماه پیش
والد
کامیت
b777045796
2فایلهای تغییر یافته به همراه0 افزوده شده و 3 حذف شده
  1. 0 1
      src/Hotline.Application.Tests/Controller/OrderControllerTest.cs
  2. 0 2
      src/Hotline.Application.Tests/Startup.cs

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

@@ -1,7 +1,6 @@
 using AutoFixture;
 using Castle.DynamicProxy;
 using Hotline.Api.Controllers;
-using Hotline.Application.Orders.OrderPublishHandler;
 using Hotline.Application.Tests.Infrastructure;
 using Hotline.Application.Tests.Mock;
 using Hotline.FlowEngine.Notifications;

+ 0 - 2
src/Hotline.Application.Tests/Startup.cs

@@ -38,7 +38,6 @@ using Hotline.Identity.Accounts;
 using Hotline.Application.Tests.Controller;
 using Hotline.Application.Tests.Infrastructure;
 using Hotline.Authentications;
-using Hotline.Application.Orders.OrderPublishHandler;
 using Hotline.FlowEngine.Notifications;
 
 namespace Hotline.Application.Tests;
@@ -153,7 +152,6 @@ public class Startup
             services.AddScoped<ISessionContextProvider, SessionContextProvider>();
             services.AddScoped<ICallApplication, XingTangCallApplication>();
             services.AddScoped<OrderServiceMock>();
-            services.AddScoped<INotificationHandler<EndWorkflowNotify>, OrderPublishEndWorkflowHandler>();
             //ServiceLocator.Instance = services.BuildServiceProvider();
         }