diff --git a/src/NzbDrone.Core.Test/HealthCheck/Checks/RootFolderCheckFixture.cs b/src/NzbDrone.Core.Test/HealthCheck/Checks/RootFolderCheckFixture.cs index 6755a83f9..bad299f2e 100644 --- a/src/NzbDrone.Core.Test/HealthCheck/Checks/RootFolderCheckFixture.cs +++ b/src/NzbDrone.Core.Test/HealthCheck/Checks/RootFolderCheckFixture.cs @@ -5,6 +5,7 @@ using Moq; using NUnit.Framework; using NzbDrone.Common.Disk; using NzbDrone.Core.HealthCheck.Checks; +using NzbDrone.Core.ImportLists; using NzbDrone.Core.Test.Framework; using NzbDrone.Core.Music; @@ -19,10 +20,18 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks .Build() .ToList(); + var importList = Builder.CreateListOfSize(1) + .Build() + .ToList(); + Mocker.GetMock() .Setup(s => s.GetAllArtists()) .Returns(artist); + Mocker.GetMock() + .Setup(s => s.All()) + .Returns(importList); + Mocker.GetMock() .Setup(s => s.GetParentFolder(artist.First().Path)) .Returns(@"C:\Music"); @@ -39,6 +48,10 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks .Setup(s => s.GetAllArtists()) .Returns(new List()); + Mocker.GetMock() + .Setup(s => s.All()) + .Returns(new List()); + Subject.Check().ShouldBeOk(); }