moved series/season/episodes to object db.

This commit is contained in:
Keivan Beigi
2013-02-19 18:05:15 -08:00
parent 4504232956
commit b5644bf660
93 changed files with 1025 additions and 1338 deletions
@@ -135,7 +135,7 @@ namespace NzbDrone.Core.Test.ProviderTests
var history = Builder<History>.CreateNew()
.With(h => h.Quality = QualityTypes.Bluray720p)
.With(h => h.IsProper = true)
.With(h => h.EpisodeId = historyEpisode.EpisodeId)
.With(h => h.EpisodeId = historyEpisode.OID)
.Build();
Db.Insert(history);
@@ -162,7 +162,7 @@ namespace NzbDrone.Core.Test.ProviderTests
var history = Builder<History>
.CreateListOfSize(5)
.All()
.With(h => h.EpisodeId = historyEpisode.EpisodeId)
.With(h => h.EpisodeId = historyEpisode.OID)
.With(h => h.SeriesId = historyEpisode.SeriesId)
.TheFirst(1)
.With(h => h.Quality = QualityTypes.DVD)
@@ -205,7 +205,7 @@ namespace NzbDrone.Core.Test.ProviderTests
var history = Builder<History>
.CreateListOfSize(5)
.All()
.With(h => h.EpisodeId = historyEpisode.EpisodeId)
.With(h => h.EpisodeId = historyEpisode.OID)
.With(h => h.SeriesId = historyEpisode.SeriesId)
.TheFirst(1)
.With(h => h.Quality = QualityTypes.DVD)
@@ -250,7 +250,7 @@ namespace NzbDrone.Core.Test.ProviderTests
var history = new History
{
Date = DateTime.Now,
EpisodeId = episode.EpisodeId,
EpisodeId = episode.OID,
SeriesId = episode.SeriesId,
NzbTitle = "my title",
Indexer = "Fake Indexer",