Web.PublishedCache - move caches to UmbracoContext

This commit is contained in:
Stephan
2013-03-19 17:50:36 -01:00
parent ef9ce720b2
commit cce32f406f
18 changed files with 53 additions and 45 deletions

View File

@@ -72,8 +72,11 @@ namespace Umbraco.Tests.PublishedCache
//ensure the StateHelper is using our custom context
StateHelper.HttpContext = _httpContextFactory.HttpContext;
_umbracoContext = new UmbracoContext(_httpContextFactory.HttpContext,
new ApplicationContext());
_umbracoContext = new UmbracoContext(
_httpContextFactory.HttpContext,
new ApplicationContext(),
new PublishedContentCache(),
new PublishedMediaCache());
_umbracoContext.GetXmlDelegate = () =>
{