From 6ee745f7f5f0c5c663717bfc250a546d00079298 Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Fri, 20 Nov 2015 13:59:05 -0800 Subject: [PATCH] Fix tests --- test/Microsoft.AspNet.Hosting.Tests/HostingEngineTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Microsoft.AspNet.Hosting.Tests/HostingEngineTests.cs b/test/Microsoft.AspNet.Hosting.Tests/HostingEngineTests.cs index 2017193a16..13921ba022 100644 --- a/test/Microsoft.AspNet.Hosting.Tests/HostingEngineTests.cs +++ b/test/Microsoft.AspNet.Hosting.Tests/HostingEngineTests.cs @@ -466,7 +466,7 @@ namespace Microsoft.AspNet.Hosting var env = engine.ApplicationServices.GetRequiredService(); // MapPath requires webroot to be set, we don't care // about file provider so just set it here - env.WebRootPath = ""; + env.WebRootPath = "."; var mappedPath = env.MapPath(virtualPath); expectedSuffix = expectedSuffix.Replace('/', Path.DirectorySeparatorChar); Assert.Equal(Path.Combine(env.WebRootPath, expectedSuffix), mappedPath);