NetCore: MSDI refactor phase 2 (#9280)
* Moved adapters from Infra -> Core * Allow Composition to accept a service collection instead of an IRegister * Composition no longer takes IRegister as constructor arg all tests passing * Composition no longer implements IRegister * Lose _uniques in Composition * lose Composition OnCreatingFactory actions * Clean up UmbracoCoreServiceCollectionExtensions & Composition Less IFactory * LightInject gone where TFW == netstandard2.0 || TFW == netcoreapp3.1 * Resolve dead code issues * Rename IFactory methods to match IServiceProvider so they can be trivially swapped later. * Rename IFactory methods to match IServiceProvider so they can be trivially swapped later (continued) Thought the counts were low, it's mostly extension method usage
This commit is contained in:
@@ -6,7 +6,6 @@ using Microsoft.Extensions.Hosting;
|
||||
using NUnit.Framework;
|
||||
using Umbraco.Core.Cache;
|
||||
using Umbraco.Core.Composing;
|
||||
using Umbraco.Core.Composing.LightInject;
|
||||
using Umbraco.Core.Configuration;
|
||||
using Umbraco.Core.IO;
|
||||
using Umbraco.Core.Logging;
|
||||
@@ -250,8 +249,7 @@ namespace Umbraco.Tests.Integration.Testing
|
||||
AppCaches.NoCache, // Disable caches for integration tests
|
||||
TestHelper.GetLoggingConfiguration(),
|
||||
Configuration,
|
||||
CreateTestRuntime,
|
||||
out _);
|
||||
CreateTestRuntime);
|
||||
|
||||
services.AddSignalR();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user