From 033f98171871bbcdee1925136fd4c22eeea067d4 Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Sat, 22 Jun 2013 14:19:22 +0200 Subject: [PATCH] Fix unit test --- src/Umbraco.Tests/ContentStores/PublishContentStoreTests.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Umbraco.Tests/ContentStores/PublishContentStoreTests.cs b/src/Umbraco.Tests/ContentStores/PublishContentStoreTests.cs index bbbcff3c00..51d0479460 100644 --- a/src/Umbraco.Tests/ContentStores/PublishContentStoreTests.cs +++ b/src/Umbraco.Tests/ContentStores/PublishContentStoreTests.cs @@ -3,6 +3,7 @@ using System.Xml; using NUnit.Framework; using Umbraco.Core; using Umbraco.Core.Configuration; +using Umbraco.Tests.PublishedContent; using Umbraco.Tests.TestHelpers; using Umbraco.Web; using Umbraco.Web.Routing; @@ -11,7 +12,7 @@ using umbraco.BusinessLogic; namespace Umbraco.Tests.ContentStores { [TestFixture] - public class PublishContentStoreTests + public class PublishContentStoreTests { private FakeHttpContextFactory _httpContextFactory; private UmbracoContext _umbracoContext; @@ -74,6 +75,8 @@ namespace Umbraco.Tests.ContentStores _umbracoContext = new UmbracoContext(_httpContextFactory.HttpContext, new ApplicationContext(), new DefaultRoutesCache(false)); + + UmbracoSettings.UseLegacyXmlSchema = false; _umbracoContext.GetXmlDelegate = () => {