1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-02-25 15:22:42 +00:00

Fix test in DiskSpaceServiceFixture

This commit is contained in:
Bogdan 2023-08-04 17:29:22 +03:00
parent 86c0a0904d
commit 108fc8c724

View file

@ -31,6 +31,10 @@ public void SetUp()
.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>());