From 0f34948c00d5e646ab4ec3119c0bbc14cd228fe1 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) --- 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 3b8874c6b..d01bd9284 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 releaseInfo = Builder.CreateNew() .With(v => v.DownloadProtocol = DownloadProtocol.Usenet)