Fixes build and fixes how published media cache gets root nodes - if people have done this in the past it would have been horrible for site performance

This commit is contained in:
Shannon
2014-11-19 11:35:37 +11:00
parent 87a9a57e6d
commit 2850c8aa05
10 changed files with 49 additions and 43 deletions

View File

@@ -356,7 +356,7 @@ namespace Umbraco.Tests.TestHelpers
var ctx = new UmbracoContext(
httpContext,
ApplicationContext,
new PublishedCaches(cache, new PublishedMediaCache()),
new PublishedCaches(cache, new PublishedMediaCache(ApplicationContext)),
new WebSecurity(httpContext, ApplicationContext));
if (setSingleton)