Web.Routing - RoutesCache goes with PublishedCache
This commit is contained in:
@@ -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""?>
|
||||
|
||||
Reference in New Issue
Block a user