|
|
@ -46,7 +46,7 @@ namespace NzbDrone.Core.Test.TvTests.EpisodeRepositoryTests
|
|
|
|
.With(e => e.Id = 0)
|
|
|
|
.With(e => e.Id = 0)
|
|
|
|
.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.AirDate = DateTime.Now.AddDays(-5))
|
|
|
|
.With(e => e.AirDateUtc = DateTime.Now.AddDays(-5))
|
|
|
|
.With(e => e.Monitored = true)
|
|
|
|
.With(e => e.Monitored = true)
|
|
|
|
.TheFirst(1)
|
|
|
|
.TheFirst(1)
|
|
|
|
.With(e => e.Monitored = false)
|
|
|
|
.With(e => e.Monitored = false)
|
|
|
@ -59,7 +59,7 @@ namespace NzbDrone.Core.Test.TvTests.EpisodeRepositoryTests
|
|
|
|
.With(e => e.Id = 0)
|
|
|
|
.With(e => e.Id = 0)
|
|
|
|
.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.AirDate = DateTime.Now.AddDays(-5))
|
|
|
|
.With(e => e.AirDateUtc = DateTime.Now.AddDays(-5))
|
|
|
|
.With(e => e.Monitored = true)
|
|
|
|
.With(e => e.Monitored = true)
|
|
|
|
.TheFirst(1)
|
|
|
|
.TheFirst(1)
|
|
|
|
.With(e => e.Monitored = false)
|
|
|
|
.With(e => e.Monitored = false)
|
|
|
|