diff --git a/src/Umbraco.Tests.Integration/Testing/UmbracoIntegrationTest.cs b/src/Umbraco.Tests.Integration/Testing/UmbracoIntegrationTest.cs index 71ba3367fc..0e79cd6464 100644 --- a/src/Umbraco.Tests.Integration/Testing/UmbracoIntegrationTest.cs +++ b/src/Umbraco.Tests.Integration/Testing/UmbracoIntegrationTest.cs @@ -218,6 +218,7 @@ namespace Umbraco.Tests.Integration.Testing .AddRuntimeMinifier() .AddBackOfficeAuthentication() .AddBackOfficeIdentity() + .AddMembersIdentity() .AddTestServices(TestHelper, GetAppCaches()); if (TestOptions.Mapper) @@ -229,8 +230,6 @@ namespace Umbraco.Tests.Integration.Testing } services.AddSignalR(); - builder.AddMembersIdentity(); - services.AddMvc(); CustomTestSetup(builder);