Cleans up IIOHelper and removes methods/props that shouldn't exist, changes test helper to use WorkingDirectory fixes some usages of MapPath

This commit is contained in:
Shannon
2020-03-31 17:27:51 +11:00
parent 7617027c49
commit 8535d0fbe3
27 changed files with 154 additions and 193 deletions

View File

@@ -59,7 +59,7 @@ namespace Umbraco.Core.IO
if (Path.IsPathRooted(rootPath) == false)
{
// but the test suite App.config cannot really "root" anything so we have to do it here
var localRoot = _ioHelper.GetRootDirectorySafe();
var localRoot = _ioHelper.MapPath("~");
rootPath = Path.Combine(localRoot, rootPath);
}