|
|
@ -27,8 +27,6 @@ namespace NzbDrone.Core.Test.JobTests
|
|
|
|
.With(s => s.SeriesId = 12)
|
|
|
|
.With(s => s.SeriesId = 12)
|
|
|
|
.Build();
|
|
|
|
.Build();
|
|
|
|
|
|
|
|
|
|
|
|
WithStrictMocker();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mocker.GetMock<SeriesProvider>()
|
|
|
|
Mocker.GetMock<SeriesProvider>()
|
|
|
|
.Setup(p => p.GetSeries(series.SeriesId))
|
|
|
|
.Setup(p => p.GetSeries(series.SeriesId))
|
|
|
|
.Returns(series);
|
|
|
|
.Returns(series);
|
|
|
@ -54,8 +52,6 @@ namespace NzbDrone.Core.Test.JobTests
|
|
|
|
.TheNext(1).With(s => s.SeriesId = 15)
|
|
|
|
.TheNext(1).With(s => s.SeriesId = 15)
|
|
|
|
.Build();
|
|
|
|
.Build();
|
|
|
|
|
|
|
|
|
|
|
|
WithStrictMocker();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mocker.GetMock<SeriesProvider>()
|
|
|
|
Mocker.GetMock<SeriesProvider>()
|
|
|
|
.Setup(p => p.GetAllSeries())
|
|
|
|
.Setup(p => p.GetAllSeries())
|
|
|
|
.Returns(series);
|
|
|
|
.Returns(series);
|
|
|
@ -82,8 +78,6 @@ namespace NzbDrone.Core.Test.JobTests
|
|
|
|
.TheNext(1).With(s => s.SeriesId = 15)
|
|
|
|
.TheNext(1).With(s => s.SeriesId = 15)
|
|
|
|
.Build();
|
|
|
|
.Build();
|
|
|
|
|
|
|
|
|
|
|
|
WithStrictMocker();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mocker.GetMock<SeriesProvider>()
|
|
|
|
Mocker.GetMock<SeriesProvider>()
|
|
|
|
.Setup(p => p.GetAllSeries())
|
|
|
|
.Setup(p => p.GetAllSeries())
|
|
|
|
.Returns(series);
|
|
|
|
.Returns(series);
|
|
|
@ -111,8 +105,6 @@ namespace NzbDrone.Core.Test.JobTests
|
|
|
|
.TheNext(1).With(s => s.SeriesId = 15)
|
|
|
|
.TheNext(1).With(s => s.SeriesId = 15)
|
|
|
|
.Build();
|
|
|
|
.Build();
|
|
|
|
|
|
|
|
|
|
|
|
WithStrictMocker();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mocker.GetMock<SeriesProvider>()
|
|
|
|
Mocker.GetMock<SeriesProvider>()
|
|
|
|
.Setup(p => p.GetAllSeries())
|
|
|
|
.Setup(p => p.GetAllSeries())
|
|
|
|
.Returns(series);
|
|
|
|
.Returns(series);
|
|
|
|