mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Replaced deprecated NBuilder calls.
This commit is contained in:
parent
956092dbd4
commit
f52620db70
14 changed files with 114 additions and 113 deletions
|
@ -28,17 +28,17 @@ namespace NzbDrone.Core.Test.ProviderTests
|
|||
.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)
|
||||
.AndTheNext(1)
|
||||
.Has(e => e.AirDate = DateTime.Today.AddDays(1))
|
||||
.AndTheNext(1)
|
||||
.Has(e => e.AirDate = DateTime.Today.AddDays(2))
|
||||
.AndTheNext(1)
|
||||
.Has(e => e.AirDate = DateTime.Today.AddDays(7))
|
||||
.AndTheNext(1)
|
||||
.Has(e => e.AirDate = DateTime.Today.AddDays(9))
|
||||
.With(e => e.AirDate = DateTime.Today.AddDays(-1))
|
||||
.TheNext(1)
|
||||
.With(e => e.AirDate = DateTime.Today)
|
||||
.TheNext(1)
|
||||
.With(e => e.AirDate = DateTime.Today.AddDays(1))
|
||||
.TheNext(1)
|
||||
.With(e => e.AirDate = DateTime.Today.AddDays(2))
|
||||
.TheNext(1)
|
||||
.With(e => e.AirDate = DateTime.Today.AddDays(7))
|
||||
.TheNext(1)
|
||||
.With(e => e.AirDate = DateTime.Today.AddDays(9))
|
||||
.Build();
|
||||
|
||||
series = Builder<Series>.CreateNew().With(s => s.SeriesId = 1).Build();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue