1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-23 22:25:56 -04:00

Fixed IsValidPath usages

This commit is contained in:
Mark McDowall
2023-03-26 22:47:09 -07:00
parent 13a0dfa4ae
commit 033936dce7
2 changed files with 3 additions and 5 deletions
@@ -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;
});