From efac943e110d3dff2df266b33db1aed9674aa8f5 Mon Sep 17 00:00:00 2001 From: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com> Date: Tue, 17 Aug 2021 11:09:49 +0200 Subject: [PATCH] Update src/Umbraco.Tests.Integration/Implementations/TestHelper.cs Co-authored-by: Bjarke Berg --- src/Umbraco.Tests.Integration/Implementations/TestHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Tests.Integration/Implementations/TestHelper.cs b/src/Umbraco.Tests.Integration/Implementations/TestHelper.cs index 46ebd6ab9c..832cf6257b 100644 --- a/src/Umbraco.Tests.Integration/Implementations/TestHelper.cs +++ b/src/Umbraco.Tests.Integration/Implementations/TestHelper.cs @@ -136,7 +136,7 @@ namespace Umbraco.Cms.Tests.Integration.Implementations { var globalSettings = new GlobalSettings(); IOptionsMonitor mockedOptionsMonitorOfGlobalSettings = Mock.Of>(x => x.CurrentValue == globalSettings); - _backOfficeInfo = new AspNetCoreBackOfficeInfo(mockedOptionsMonitorOfGlobalSettings, null); + _backOfficeInfo = new AspNetCoreBackOfficeInfo(mockedOptionsMonitorOfGlobalSettings, GetHostingEnvironment()); } return _backOfficeInfo;