fixed more tests.

This commit is contained in:
kay.one 2013-02-24 11:57:33 -08:00
commit 9931bab998
51 changed files with 184 additions and 169 deletions

View file

@ -158,7 +158,7 @@ namespace NzbDrone.Core.Test.JobTests
var episodes = Builder<Episode>.CreateListOfSize(5)
.All()
.With(e => e.Series = series)
.With(e => e.SeriesId = series.SeriesId)
.With(e => e.SeriesId = series.OID)
.With(e => e.SeasonNumber = 1)
.Build();
@ -198,7 +198,7 @@ namespace NzbDrone.Core.Test.JobTests
var episodes = Builder<Episode>.CreateListOfSize(10)
.TheFirst(5)
.With(e => e.Series = series)
.With(e => e.SeriesId = series.SeriesId)
.With(e => e.SeriesId = series.OID)
.With(e => e.SeasonNumber = 1)
.TheNext(5)
.With(e => e.Series = series2)