diff --git a/NzbDrone.Core.Test/ProviderTests/DownloadProviderFixture.cs b/NzbDrone.Core.Test/ProviderTests/DownloadProviderFixture.cs index b85e80ae3..0a7fbffa9 100644 --- a/NzbDrone.Core.Test/ProviderTests/DownloadProviderFixture.cs +++ b/NzbDrone.Core.Test/ProviderTests/DownloadProviderFixture.cs @@ -59,11 +59,11 @@ namespace NzbDrone.Core.Test.ProviderTests private void WithSuccessfullAdd() { Mocker.GetMock() - .Setup(s => s.DownloadNzb(It.IsAny(), It.IsAny(), false)) + .Setup(s => s.DownloadNzb(It.IsAny(), It.IsAny(), It.IsAny())) .Returns(true); Mocker.GetMock() - .Setup(s => s.DownloadNzb(It.IsAny(), It.IsAny(), false)) + .Setup(s => s.DownloadNzb(It.IsAny(), It.IsAny(), It.IsAny())) .Returns(true); } @@ -92,10 +92,10 @@ namespace NzbDrone.Core.Test.ProviderTests //Assert Mocker.GetMock() - .Verify(s => s.DownloadNzb(It.IsAny(), It.IsAny(), false), Times.Once()); + .Verify(s => s.DownloadNzb(It.IsAny(), It.IsAny(), true), Times.Once()); Mocker.GetMock() - .Verify(s => s.DownloadNzb(It.IsAny(), It.IsAny(), false), Times.Never()); + .Verify(s => s.DownloadNzb(It.IsAny(), It.IsAny(), true), Times.Never()); Mocker.GetMock() .Verify(s => s.Add(It.Is(h => h.EpisodeId == 12 && h.SeriesId == 5)), Times.Once()); @@ -127,10 +127,10 @@ namespace NzbDrone.Core.Test.ProviderTests //Assert Mocker.GetMock() - .Verify(s => s.DownloadNzb(It.IsAny(), It.IsAny(), false), Times.Never()); + .Verify(s => s.DownloadNzb(It.IsAny(), It.IsAny(), true), Times.Never()); Mocker.GetMock() - .Verify(s => s.DownloadNzb(It.IsAny(), It.IsAny(), false), Times.Once()); + .Verify(s => s.DownloadNzb(It.IsAny(), It.IsAny(), true), Times.Once()); Mocker.GetMock() .Verify(s => s.Add(It.Is(h => h.EpisodeId == 12 && h.SeriesId == 5)), Times.Once());