Trying to cleanup and refactor tests

This commit is contained in:
Stephan
2016-11-05 19:23:55 +01:00
parent b9d39db995
commit 224986d56c
106 changed files with 694 additions and 545 deletions

View File

@@ -14,9 +14,9 @@ using Umbraco.Web.Security;
namespace Umbraco.Tests.Cache.PublishedCache
{
[DatabaseTestBehavior(DatabaseBehavior.NewDbFileAndSchemaPerFixture)]
[TestFixture]
public class PublishContentCacheTests : BaseWebTest
[UmbracoTest(Database = UmbracoTestOptions.Database.NewSchemaPerFixture)]
public class PublishContentCacheTests : BaseWebTest
{
private FakeHttpContextFactory _httpContextFactory;
private UmbracoContext _umbracoContext;

View File

@@ -16,8 +16,8 @@ using Current = Umbraco.Web.Current;
namespace Umbraco.Tests.Cache.PublishedCache
{
[DatabaseTestBehavior(DatabaseBehavior.NewDbFileAndSchemaPerTest)]
[TestFixture]
[UmbracoTest(Database = UmbracoTestOptions.Database.NewSchemaPerTest)]
public class PublishMediaCacheTests : BaseWebTest
{
protected override void MoreSetUp()