Cleanup - DisposableObject & disposing UmbracoContext

This commit is contained in:
Stephan
2016-06-09 19:06:49 +02:00
parent 5a839c3654
commit 9fe9f9d167
10 changed files with 44 additions and 42 deletions

View File

@@ -72,8 +72,7 @@ namespace Umbraco.Tests.PublishedContent
facadeService.Object,
new WebSecurity(httpContext, ApplicationContext),
Mock.Of<IUmbracoSettingsSection>(),
Enumerable.Empty<IUrlProvider>(),
null);
Enumerable.Empty<IUrlProvider>());
Umbraco.Web.Current.SetUmbracoContext(ctx, true);
}