|
|
|
@ -74,7 +74,7 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks
|
|
|
|
|
.Setup(x => x.FolderExists(It.IsAny<string>()))
|
|
|
|
|
.Returns((string path) =>
|
|
|
|
|
{
|
|
|
|
|
Ensure.That(path, () => path).IsValidPath();
|
|
|
|
|
Ensure.That(path, () => path).IsValidPath(PathValidationType.CurrentOs);
|
|
|
|
|
return false;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
@ -82,7 +82,7 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks
|
|
|
|
|
.Setup(x => x.FileExists(It.IsAny<string>()))
|
|
|
|
|
.Returns((string path) =>
|
|
|
|
|
{
|
|
|
|
|
Ensure.That(path, () => path).IsValidPath();
|
|
|
|
|
Ensure.That(path, () => path).IsValidPath(PathValidationType.CurrentOs);
|
|
|
|
|
return false;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|