Fix tests

This commit is contained in:
Pavel Krymets 2015-11-20 13:59:05 -08:00
parent 6a719ab95d
commit 6ee745f7f5
1 changed files with 1 additions and 1 deletions

View File

@ -466,7 +466,7 @@ namespace Microsoft.AspNet.Hosting
var env = engine.ApplicationServices.GetRequiredService<IHostingEnvironment>();
// 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);