AB#6233 - Added application url on IHostingEnvironment. Still need a way to figure out how to get this value

This commit is contained in:
Bjarke Berg
2020-05-01 08:26:05 +02:00
parent 04872857e4
commit da1e83c0d1
24 changed files with 47 additions and 24 deletions

View File

@@ -34,7 +34,7 @@ namespace Umbraco.Tests.Common
protected TestHelperBase(Assembly entryAssembly)
{
SettingsForTests = new SettingsForTests();
SettingsForTests = new SettingsForTests();
MainDom = new SimpleMainDom();
_typeFinder = new TypeFinder(Mock.Of<ILogger>(), new DefaultUmbracoAssemblyProvider(entryAssembly), new VaryingRuntimeHash());
}
@@ -54,7 +54,8 @@ namespace Umbraco.Tests.Common
Mock.Of<ILogger>(),
Mock.Of<IGlobalSettings>(),
GetUmbracoVersion(),
GetBackOfficeInfo());
GetBackOfficeInfo(),
GetHostingEnvironment());
}
public abstract IBackOfficeInfo GetBackOfficeInfo();