NetCore: MSDI refactor split CoreRuntime & Remove Current (#9356)
* Split Bootstrap code from CoreRuntime * Make ContentService method signatures match interface prevents need to hide the concrete class in tests * Remove Current Only bit that bugs me is TreeNode for IconFilePath I get the feeling it's dead code, but can just use a setter in cs or work out path in js if required. * Fix tests, remember to terminate IRuntime
This commit is contained in:
@@ -5,7 +5,7 @@ using System.Linq;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Microsoft.Extensions.Logging.Abstractions;
|
||||
using NUnit.Framework;
|
||||
using Umbraco.Composing;
|
||||
using Umbraco.Core;
|
||||
using Umbraco.Core.Logging;
|
||||
using Umbraco.Core.Models;
|
||||
using Umbraco.Core.Persistence.Repositories;
|
||||
@@ -109,7 +109,7 @@ namespace Umbraco.Tests.Integration.Umbraco.Infrastructure.Services
|
||||
total.AddRange(ContentService.GetPagedDescendants(content.Id, 0, int.MaxValue, out var _));
|
||||
}
|
||||
TestProfiler.Disable();
|
||||
Current.Logger.LogInformation("Returned {Total} items", total.Count);
|
||||
StaticApplicationLogging.Logger.LogInformation("Returned {Total} items", total.Count);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user