mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Upgraded to NBuilder 3.
This commit is contained in:
parent
e87cdbde44
commit
88b8c053fc
23 changed files with 343 additions and 352 deletions
|
@ -23,10 +23,10 @@ namespace NzbDrone.Core.Test
|
|||
public new void Setup()
|
||||
{
|
||||
episodes = Builder<Episode>.CreateListOfSize(6)
|
||||
.WhereAll()
|
||||
.Have(e => e.SeriesId = 1)
|
||||
.Have(e => e.Ignored = false)
|
||||
.WhereTheFirst(1)
|
||||
.All()
|
||||
.With(e => e.SeriesId = 1)
|
||||
.With(e => e.Ignored = false)
|
||||
.TheFirst(1)
|
||||
.Has(e => e.AirDate = DateTime.Today.AddDays(-1))
|
||||
.AndTheNext(1)
|
||||
.Has(e => e.AirDate = DateTime.Today)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue