mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-12-31 18:20:09 +01:00
Fixed tests for EpisodeFileMovingService
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user