|
|
@ -48,7 +48,6 @@ namespace NzbDrone.Core.Test.TvTests.EpisodeRepositoryTests
|
|
|
|
var monitoredSeriesEpisodes = Builder<Episode>.CreateListOfSize(3)
|
|
|
|
var monitoredSeriesEpisodes = Builder<Episode>.CreateListOfSize(3)
|
|
|
|
.All()
|
|
|
|
.All()
|
|
|
|
.With(e => e.Id = 0)
|
|
|
|
.With(e => e.Id = 0)
|
|
|
|
.With(e => e.TvDbEpisodeId = RandomNumber)
|
|
|
|
|
|
|
|
.With(e => e.SeriesId = _monitoredSeries.Id)
|
|
|
|
.With(e => e.SeriesId = _monitoredSeries.Id)
|
|
|
|
.With(e => e.EpisodeFileId = 0)
|
|
|
|
.With(e => e.EpisodeFileId = 0)
|
|
|
|
.With(e => e.AirDateUtc = DateTime.Now.AddDays(-5))
|
|
|
|
.With(e => e.AirDateUtc = DateTime.Now.AddDays(-5))
|
|
|
@ -62,7 +61,6 @@ namespace NzbDrone.Core.Test.TvTests.EpisodeRepositoryTests
|
|
|
|
var unmonitoredSeriesEpisodes = Builder<Episode>.CreateListOfSize(3)
|
|
|
|
var unmonitoredSeriesEpisodes = Builder<Episode>.CreateListOfSize(3)
|
|
|
|
.All()
|
|
|
|
.All()
|
|
|
|
.With(e => e.Id = 0)
|
|
|
|
.With(e => e.Id = 0)
|
|
|
|
.With(e => e.TvDbEpisodeId = RandomNumber)
|
|
|
|
|
|
|
|
.With(e => e.SeriesId = _unmonitoredSeries.Id)
|
|
|
|
.With(e => e.SeriesId = _unmonitoredSeries.Id)
|
|
|
|
.With(e => e.EpisodeFileId = 0)
|
|
|
|
.With(e => e.EpisodeFileId = 0)
|
|
|
|
.With(e => e.AirDateUtc = DateTime.Now.AddDays(-5))
|
|
|
|
.With(e => e.AirDateUtc = DateTime.Now.AddDays(-5))
|
|
|
|