Update src/Umbraco.Tests.Integration/Implementations/TestHelper.cs

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
This commit is contained in:
Nikolaj Geisle
2021-08-17 11:09:49 +02:00
committed by GitHub
parent 45bbaafde9
commit efac943e11

View File

@@ -136,7 +136,7 @@ namespace Umbraco.Cms.Tests.Integration.Implementations
{
var globalSettings = new GlobalSettings();
IOptionsMonitor<GlobalSettings> mockedOptionsMonitorOfGlobalSettings = Mock.Of<IOptionsMonitor<GlobalSettings>>(x => x.CurrentValue == globalSettings);
_backOfficeInfo = new AspNetCoreBackOfficeInfo(mockedOptionsMonitorOfGlobalSettings, null);
_backOfficeInfo = new AspNetCoreBackOfficeInfo(mockedOptionsMonitorOfGlobalSettings, GetHostingEnvironment());
}
return _backOfficeInfo;