diff --git a/test/UnitTest/Bootstrap.Admin/Api/HealthCheckTest.cs b/test/UnitTest/Bootstrap.Admin/Api/HealthCheckTest.cs index 8c24d752..eeca537a 100644 --- a/test/UnitTest/Bootstrap.Admin/Api/HealthCheckTest.cs +++ b/test/UnitTest/Bootstrap.Admin/Api/HealthCheckTest.cs @@ -92,7 +92,7 @@ namespace Bootstrap.Admin.Api } // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. - public void Configure(IApplicationBuilder app, IHostingEnvironment env) + public void Configure(IApplicationBuilder app, IWebHostEnvironment env) { app.Use(async (context, next) => { @@ -118,7 +118,7 @@ namespace Bootstrap.Admin.Api } /// - /// + /// /// public class HealthCheckWebHost : WebApplicationFactory where TStartup : class { @@ -129,7 +129,7 @@ namespace Bootstrap.Admin.Api } /// - /// + /// /// /// protected override IWebHostBuilder CreateWebHostBuilder() => WebHost.CreateDefaultBuilder(null);