From 511dacd24a2249efc14ffca8b0b416c49815d18d Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sat, 20 May 2023 21:15:10 -0700 Subject: [PATCH] Fixed tests in DownloadServiceFixture (cherry picked from commit d743a8f7e9eac348b4679919f60af5b27457acfd) Closes #3706 --- src/NzbDrone.Core.Test/Download/DownloadServiceFixture.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core.Test/Download/DownloadServiceFixture.cs b/src/NzbDrone.Core.Test/Download/DownloadServiceFixture.cs index e3bd72eb1..74d2c45de 100644 --- a/src/NzbDrone.Core.Test/Download/DownloadServiceFixture.cs +++ b/src/NzbDrone.Core.Test/Download/DownloadServiceFixture.cs @@ -32,7 +32,7 @@ namespace NzbDrone.Core.Test.Download Mocker.GetMock() .Setup(v => v.GetDownloadClient(It.IsAny(), It.IsAny(), It.IsAny())) - .Returns((v, i) => _downloadClients.FirstOrDefault(d => d.Protocol == v)); + .Returns((v, i, f) => _downloadClients.FirstOrDefault(d => d.Protocol == v)); var episodes = Builder.CreateListOfSize(2) .TheFirst(1).With(s => s.Id = 12)