Web.Routing - RoutesCache goes with PublishedCache

This commit is contained in:
Stephan
2013-03-20 16:01:49 -01:00
parent 6e3c4854b9
commit fcb8f0d417
45 changed files with 499 additions and 691 deletions

View File

@@ -288,6 +288,8 @@ namespace Umbraco.Tests.TestHelpers
return doc;
};
PublishedContentCache.UnitTesting = true;
var ctx = new UmbracoContext(
GetHttpContextFactory(url, routeData).HttpContext,
ApplicationContext,
@@ -310,11 +312,6 @@ namespace Umbraco.Tests.TestHelpers
return factory;
}
internal virtual IRoutesCache GetRoutesCache()
{
return new FakeRoutesCache();
}
protected virtual string GetXmlContent(int templateId)
{
return @"<?xml version=""1.0"" encoding=""utf-8""?>