Fix test in DiskSpaceServiceFixture

This commit is contained in:
Bogdan 2023-08-04 17:29:22 +03:00
parent 86c0a0904d
commit 108fc8c724
1 changed files with 4 additions and 0 deletions

View File

@ -31,6 +31,10 @@ namespace NzbDrone.Core.Test.DiskSpace
.Setup(x => x.All())
.Returns(new List<RootFolder>() { _rootDir });
Mocker.GetMock<IDiskProvider>()
.Setup(v => v.FolderExists(_rootDir.Path))
.Returns(true);
Mocker.GetMock<IDiskProvider>()
.Setup(v => v.GetMounts())
.Returns(new List<IMount>());