Fixed tests in DownloadServiceFixture

(cherry picked from commit d743a8f7e9eac348b4679919f60af5b27457acfd)

Closes #2522
pull/2513/head
Mark McDowall 1 year ago committed by Bogdan
parent 8bec6c91c9
commit 0463193127

@ -32,7 +32,7 @@ namespace NzbDrone.Core.Test.Download
Mocker.GetMock<IProvideDownloadClient>()
.Setup(v => v.GetDownloadClient(It.IsAny<DownloadProtocol>(), It.IsAny<int>(), It.IsAny<bool>()))
.Returns<DownloadProtocol, int>((v, i) => _downloadClients.FirstOrDefault(d => d.Protocol == v));
.Returns<DownloadProtocol, int, bool>((v, i, f) => _downloadClients.FirstOrDefault(d => d.Protocol == v));
var episodes = Builder<Book>.CreateListOfSize(2)
.TheFirst(1).With(s => s.Id = 12)

Loading…
Cancel
Save