Merge remote-tracking branch 'Umbraco/netcore/netcore' into netcore/feature/aspnetcoreidentity

This commit is contained in:
Scott Brady
2020-05-18 12:52:03 +01:00
115 changed files with 3285 additions and 16511 deletions

View File

@@ -37,7 +37,7 @@ namespace Umbraco.Tests.Integration.Implementations
var httpContext = new DefaultHttpContext();
httpContext.Connection.RemoteIpAddress = IPAddress.Parse("127.0.0.1");
_httpContextAccessor = Mock.Of<IHttpContextAccessor>(x => x.HttpContext == httpContext);
_ipResolver = new AspNetIpResolver(_httpContextAccessor);
_ipResolver = new AspNetCoreIpResolver(_httpContextAccessor);
var hostEnvironment = new Mock<IWebHostEnvironment>();
hostEnvironment.Setup(x => x.ApplicationName).Returns("UmbracoIntegrationTests");