From 0632ea8e819e1cf7d7d4e0e066b5afa0d95f5456 Mon Sep 17 00:00:00 2001 From: Ryan Nowak Date: Mon, 11 Jan 2021 13:19:17 -0800 Subject: [PATCH] Fix broken test For some reason this project isn't being run by the CI --- test/Dapr.Actors.AspNetCore.IntegrationTest/HostingTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Dapr.Actors.AspNetCore.IntegrationTest/HostingTests.cs b/test/Dapr.Actors.AspNetCore.IntegrationTest/HostingTests.cs index 251d5918..e8199f15 100644 --- a/test/Dapr.Actors.AspNetCore.IntegrationTest/HostingTests.cs +++ b/test/Dapr.Actors.AspNetCore.IntegrationTest/HostingTests.cs @@ -80,7 +80,7 @@ namespace Dapr.Actors.AspNetCore.IntegrationTest await Assert2XXStatusAsync(response); } - private static IHost CreateHost() + private static IHost CreateHost() where TStartup : class { var builder = Host .CreateDefaultBuilder() @@ -91,7 +91,7 @@ namespace Dapr.Actors.AspNetCore.IntegrationTest }) .ConfigureWebHostDefaults(webBuilder => { - webBuilder.UseStartup(); + webBuilder.UseStartup(); webBuilder.UseTestServer(); }); var host = builder.Build();