Changes necessary for migrating old tests

This commit is contained in:
Elitsa Marinovska
2020-08-18 15:53:25 +02:00
parent 6371fdbf4d
commit 4f5fb0c9c3
6 changed files with 13 additions and 6 deletions

View File

@@ -99,10 +99,11 @@ namespace Umbraco.Tests.Integration.Extensions
break;
case UmbracoTestOptions.Database.NewSchemaPerFixture:
throw new NotImplementedException();
// New DB + Schema
var newSchemaFixtureDbId = db.AttachSchema();
//// Add teardown callback
//integrationTest.OnFixtureTearDown(() => db.Detach());
// Add teardown callback
integrationTest.OnFixtureTearDown(() => db.Detach(newSchemaFixtureDbId));
break;
case UmbracoTestOptions.Database.NewEmptyPerFixture: