From 1b2fe6e8423ab1818f502d1f22547f61c9613eff Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Wed, 17 Oct 2012 21:28:54 -0700 Subject: [PATCH] Fixed broken tests --- NzbDrone.Core.Test/JobTests/ImportNewSeriesJobTest.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/NzbDrone.Core.Test/JobTests/ImportNewSeriesJobTest.cs b/NzbDrone.Core.Test/JobTests/ImportNewSeriesJobTest.cs index 8300b7185..9a83c768b 100644 --- a/NzbDrone.Core.Test/JobTests/ImportNewSeriesJobTest.cs +++ b/NzbDrone.Core.Test/JobTests/ImportNewSeriesJobTest.cs @@ -50,6 +50,9 @@ namespace NzbDrone.Core.Test.JobTests Mocker.GetMock() .Setup(j => j.Start(notification, It.IsAny(), 0)); + Mocker.GetMock() + .Setup(j => j.Start(notification, It.IsAny(), 0)); + Mocker.GetMock() .Setup(j => j.Start(notification, series[0].SeriesId, 0)) .Callback(() => series[0].LastInfoSync = DateTime.Now); @@ -123,6 +126,9 @@ namespace NzbDrone.Core.Test.JobTests Mocker.GetMock() .Setup(s => s.GetSeriesFiles(It.IsAny())).Returns(new List()); + Mocker.GetMock() + .Setup(j => j.Start(notification, series[0].SeriesId, 0)); + //Act Mocker.Resolve().Start(notification, 0, 0);