mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
fixed more tests.
This commit is contained in:
parent
a98d792c0d
commit
9931bab998
51 changed files with 184 additions and 169 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue