From 105054218c118b0d70e73af736fc3282d936d2af Mon Sep 17 00:00:00 2001 From: Ali Yousefi Date: Wed, 25 Oct 2023 17:18:53 +0330 Subject: [PATCH] use BaseHandler CreateOSHandler --- .../Engine/Net/HostHttpHandlerTest.cs | 2 +- .../Engine/Net/HttpHandlerTest.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CSharp/EasyMicroservices.Laboratory.Tests/Engine/Net/HostHttpHandlerTest.cs b/src/CSharp/EasyMicroservices.Laboratory.Tests/Engine/Net/HostHttpHandlerTest.cs index cea81f1..cfe66cb 100644 --- a/src/CSharp/EasyMicroservices.Laboratory.Tests/Engine/Net/HostHttpHandlerTest.cs +++ b/src/CSharp/EasyMicroservices.Laboratory.Tests/Engine/Net/HostHttpHandlerTest.cs @@ -10,7 +10,7 @@ public class HostHttpHandlerTest : BaseHandlerTest { protected override BaseHandler GetHandler(ResourceManager resourceManager) { - return new HostHttpHandler(resourceManager); + return BaseHandler.CreateOSHandler(resourceManager); } } } diff --git a/src/CSharp/EasyMicroservices.Laboratory.Tests/Engine/Net/HttpHandlerTest.cs b/src/CSharp/EasyMicroservices.Laboratory.Tests/Engine/Net/HttpHandlerTest.cs index 05457b9..331be88 100644 --- a/src/CSharp/EasyMicroservices.Laboratory.Tests/Engine/Net/HttpHandlerTest.cs +++ b/src/CSharp/EasyMicroservices.Laboratory.Tests/Engine/Net/HttpHandlerTest.cs @@ -9,7 +9,7 @@ public class HttpHandlerTest : BaseHandlerTest { protected override BaseHandler GetHandler(ResourceManager resourceManager) { - return new HttpHandler(resourceManager); + return BaseHandler.CreateOSHandler(resourceManager); } } } \ No newline at end of file