From cbdb96dfe6e2c4e2db0071e15beab83834aaeb1c Mon Sep 17 00:00:00 2001 From: Mole Date: Wed, 30 Sep 2020 14:27:18 +0200 Subject: [PATCH] Add SignalR in integration tests --- .../TestServerTest/UmbracoTestServerTestBase.cs | 1 + src/Umbraco.Tests.Integration/Testing/UmbracoIntegrationTest.cs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/Umbraco.Tests.Integration/TestServerTest/UmbracoTestServerTestBase.cs b/src/Umbraco.Tests.Integration/TestServerTest/UmbracoTestServerTestBase.cs index 5fe06b8a99..c99a457c33 100644 --- a/src/Umbraco.Tests.Integration/TestServerTest/UmbracoTestServerTestBase.cs +++ b/src/Umbraco.Tests.Integration/TestServerTest/UmbracoTestServerTestBase.cs @@ -68,6 +68,7 @@ namespace Umbraco.Tests.Integration.TestServerTest builder.ConfigureServices((c, s) => { c.HostingEnvironment = TestHelper.GetWebHostEnvironment(); + s.AddSignalR(); }); // call startup diff --git a/src/Umbraco.Tests.Integration/Testing/UmbracoIntegrationTest.cs b/src/Umbraco.Tests.Integration/Testing/UmbracoIntegrationTest.cs index 552bbf59ae..1dae786d01 100644 --- a/src/Umbraco.Tests.Integration/Testing/UmbracoIntegrationTest.cs +++ b/src/Umbraco.Tests.Integration/Testing/UmbracoIntegrationTest.cs @@ -230,6 +230,8 @@ namespace Umbraco.Tests.Integration.Testing CreateTestRuntime, out _); + services.AddSignalR(); + services.AddUmbracoWebComponents(); services.AddUmbracoRuntimeMinifier(Configuration); services.AddUmbracoBackOffice();