mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-26 22:46:37 -04:00
Fixed IsValidPath usages
(cherry picked from commit 033936dce7e13c8ab2e38407782dc9cdd949460e) Closes #2313
This commit is contained in:
@@ -78,7 +78,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;
|
||||
});
|
||||
|
||||
@@ -86,7 +86,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;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user