Internalize Umbraco.Cms.ManagementApi references

This commit is contained in:
Ronald Barendse
2022-09-27 23:43:07 +02:00
parent b0ea7bc076
commit 7890a265ab
13 changed files with 199 additions and 288 deletions

View File

@@ -19,9 +19,6 @@ using Umbraco.Cms.Core.Composing;
using Umbraco.Cms.Core.DependencyInjection;
using Umbraco.Cms.Core.Services;
using Umbraco.Cms.Core.Web;
using Umbraco.Cms.ManagementApi;
using Umbraco.Cms.ManagementApi.Configuration;
using Umbraco.Cms.ManagementApi.Controllers.Install;
using Umbraco.Cms.Persistence.Sqlite;
using Umbraco.Cms.Persistence.SqlServer;
using Umbraco.Cms.Tests.Common.Testing;
@@ -240,9 +237,6 @@ namespace Umbraco.Cms.Tests.Integration.TestServerTest
// Adds Umbraco.Tests.Integration
mvcBuilder.AddApplicationPart(typeof(UmbracoTestServerTestBase).Assembly);
// Adds Umbraco.Tests.Integration
mvcBuilder.AddApplicationPart(typeof(InstallControllerBase).Assembly);
})
.AddWebServer()
.AddWebsite()
@@ -250,8 +244,6 @@ namespace Umbraco.Cms.Tests.Integration.TestServerTest
.AddUmbracoSqliteSupport()
.AddTestServices(TestHelper); // This is the important one!
new ManagementApiComposer().Compose(builder);
CustomTestSetup(builder);
builder.Build();
}