fixup! Fix Unit Tests

This commit is contained in:
Qstick 2020-11-12 23:21:57 -05:00
parent a591227052
commit 7311a1e837
1 changed files with 5 additions and 0 deletions

View File

@ -10,6 +10,7 @@ using NzbDrone.Core.Messaging.Events;
using NzbDrone.Core.Movies; using NzbDrone.Core.Movies;
using NzbDrone.Core.Organizer; using NzbDrone.Core.Organizer;
using NzbDrone.Core.Parser.Model; using NzbDrone.Core.Parser.Model;
using NzbDrone.Core.RootFolders;
using NzbDrone.Core.Test.Framework; using NzbDrone.Core.Test.Framework;
using NzbDrone.Test.Common; using NzbDrone.Test.Common;
@ -54,6 +55,10 @@ namespace NzbDrone.Core.Test.MediaFiles.MovieFileMovingServiceTests
Mocker.GetMock<IDiskProvider>() Mocker.GetMock<IDiskProvider>()
.Setup(s => s.FileExists(It.IsAny<string>())) .Setup(s => s.FileExists(It.IsAny<string>()))
.Returns(true); .Returns(true);
Mocker.GetMock<IRootFolderService>()
.Setup(s => s.GetBestRootFolderPath(It.IsAny<string>()))
.Returns(rootFolder);
} }
[Test] [Test]