Add composers via extension on UmbracoBuilder

reduce scope of CoreRuntimeBootstrapper
This commit is contained in:
Paul Johnson
2020-11-19 16:20:39 +00:00
parent 48b61ec4c4
commit 3672a9f2f2
16 changed files with 179 additions and 247 deletions

View File

@@ -126,7 +126,7 @@ namespace Umbraco.Tests.Integration.TestServerTest
public override void ConfigureServices(IServiceCollection services)
{
var umbracoBuilder = services.AddUmbraco(Configuration);
var umbracoBuilder = services.AddUmbraco(TestHelper.GetWebHostEnvironment(), Configuration);
umbracoBuilder
.AddConfiguration()
.AddTestCore(TestHelper, UseTestLocalDb) // This is the important one!