Migrations refactoring - WIP - move code

This commit is contained in:
Stephan
2017-12-18 18:26:32 +01:00
parent f6314e1361
commit 2182b0f18f
205 changed files with 5349 additions and 5481 deletions

View File

@@ -28,6 +28,7 @@ using Umbraco.Core.Scoping;
using Umbraco.Tests.TestHelpers.Stubs;
using Umbraco.Tests.Testing;
using LightInject;
using Umbraco.Core.Migrations.Install;
using Umbraco.Core.Models.PublishedContent;
using Umbraco.Core.Persistence.Repositories;
@@ -293,9 +294,9 @@ namespace Umbraco.Tests.TestHelpers
{
using (var scope = ScopeProvider.CreateScope())
{
var schemaHelper = new DatabaseSchemaHelper(scope.Database, Logger);
var schemaHelper = new DatabaseSchemaCreator(scope.Database, Logger);
//Create the umbraco database and its base data
schemaHelper.CreateDatabaseSchema(Mock.Of<IRuntimeState>(), Mock.Of<IMigrationEntryService>());
schemaHelper.InitializeDatabaseSchema();
scope.Complete();
}