mirror of
https://github.com/fergalmoran/Readarr.git
synced 2025-12-26 11:29:25 +00:00
Fix test in DiskSpaceServiceFixture
This commit is contained in:
@@ -31,6 +31,10 @@ namespace NzbDrone.Core.Test.DiskSpace
|
|||||||
.Setup(x => x.All())
|
.Setup(x => x.All())
|
||||||
.Returns(new List<RootFolder>() { _rootDir });
|
.Returns(new List<RootFolder>() { _rootDir });
|
||||||
|
|
||||||
|
Mocker.GetMock<IDiskProvider>()
|
||||||
|
.Setup(v => v.FolderExists(_rootDir.Path))
|
||||||
|
.Returns(true);
|
||||||
|
|
||||||
Mocker.GetMock<IDiskProvider>()
|
Mocker.GetMock<IDiskProvider>()
|
||||||
.Setup(v => v.GetMounts())
|
.Setup(v => v.GetMounts())
|
||||||
.Returns(new List<IMount>());
|
.Returns(new List<IMount>());
|
||||||
|
|||||||
Reference in New Issue
Block a user