Fixed IsValidPath usages

(cherry picked from commit 033936dce7e13c8ab2e38407782dc9cdd949460e)
This commit is contained in:
Mark McDowall 2023-03-26 22:47:09 -07:00 committed by Bogdan
parent ae63b85753
commit 07f0e89f11
1 changed files with 2 additions and 2 deletions

View File

@ -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;
});