Resolve review comments
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
using Umbraco.Core;
|
||||
using Umbraco.Core.Builder;
|
||||
using Umbraco.Core.Cache;
|
||||
using Umbraco.Core.Logging;
|
||||
using Umbraco.Core.Runtime;
|
||||
using Umbraco.Extensions;
|
||||
using Umbraco.Tests.Integration.Implementations;
|
||||
using Umbraco.Web.Common.Builder;
|
||||
|
||||
@@ -21,7 +21,6 @@ namespace Umbraco.Tests.Integration.TestServerTest
|
||||
builder.AddUmbracoCore();
|
||||
|
||||
builder.Services.AddUnique<AppCaches>(AppCaches.NoCache);
|
||||
|
||||
builder.Services.AddUnique<IUmbracoBootPermissionChecker>(Mock.Of<IUmbracoBootPermissionChecker>());
|
||||
builder.Services.AddUnique<IMainDom>(testHelper.MainDom);
|
||||
|
||||
|
||||
@@ -131,7 +131,7 @@ namespace Umbraco.Tests.Integration.TestServerTest
|
||||
public override void ConfigureServices(IServiceCollection services)
|
||||
{
|
||||
var typeLoader = services.AddTypeLoader(GetType().Assembly, TestHelper.GetWebHostEnvironment(), TestHelper.GetHostingEnvironment(),
|
||||
TestHelper.ConsoleLoggerFactory, AppCaches.NoCache, Configuration);
|
||||
TestHelper.ConsoleLoggerFactory, AppCaches.NoCache, Configuration, TestHelper.Profiler);
|
||||
|
||||
var builder = new UmbracoBuilder(services, Configuration, typeLoader);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user