qinchaoyue 6 月之前
父節點
當前提交
b777045796

+ 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();
         }