mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Fixed tests in DownloadServiceFixture
(cherry picked from commit d743a8f7e9eac348b4679919f60af5b27457acfd) Closes #3706
This commit is contained in:
parent
608eb10518
commit
511dacd24a
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ namespace NzbDrone.Core.Test.Download
|
||||||
|
|
||||||
Mocker.GetMock<IProvideDownloadClient>()
|
Mocker.GetMock<IProvideDownloadClient>()
|
||||||
.Setup(v => v.GetDownloadClient(It.IsAny<DownloadProtocol>(), It.IsAny<int>(), It.IsAny<bool>()))
|
.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<Album>.CreateListOfSize(2)
|
var episodes = Builder<Album>.CreateListOfSize(2)
|
||||||
.TheFirst(1).With(s => s.Id = 12)
|
.TheFirst(1).With(s => s.Id = 12)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue