mirror of
https://github.com/Radarr/Radarr.git
synced 2025-04-24 06:27:08 -04:00
Fixed IsValidPath usages
(cherry picked from commit 033936dce7e13c8ab2e38407782dc9cdd949460e)
This commit is contained in:
parent
ae63b85753
commit
07f0e89f11
1 changed files with 2 additions and 2 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;
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue