Let IOHelper use IHostingEnvironment

This commit is contained in:
Bjarke Berg
2019-12-04 14:03:39 +01:00
parent d2bf64195e
commit 28ecb355dd
134 changed files with 697 additions and 352 deletions

View File

@@ -142,7 +142,8 @@ namespace Umbraco.Tests.TestHelpers.ControllerTesting
Enumerable.Empty<IUrlProvider>(),
Enumerable.Empty<IMediaUrlProvider>(),
globalSettings,
new TestVariationContextAccessor());
new TestVariationContextAccessor(),
TestHelper.IOHelper);
//replace it
umbracoContextAccessor.UmbracoContext = umbCtx;