Fixed tests for EpisodeFileMovingService

This commit is contained in:
Mark McDowall
2016-09-02 12:26:04 -07:00
parent 6ac9e5ec18
commit aa37b65842
2 changed files with 2 additions and 2 deletions

View File

@@ -194,7 +194,7 @@ namespace NzbDrone.Core.MediaFiles
{
Ensure.That(directoryName, () => directoryName).IsNotNullOrWhiteSpace();
var parentFolder = Path.GetDirectoryName(directoryName);
var parentFolder = new OsPath(directoryName).Directory.FullPath;
if (!_diskProvider.FolderExists(parentFolder))
{
CreateFolder(parentFolder);