mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43: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
|
@ -25,9 +25,9 @@ namespace NzbDrone.Core.Test.ProviderTests
|
|||
.Build();
|
||||
|
||||
var episodes = Builder<Episode>.CreateListOfSize(2)
|
||||
.TheFirst(1).Has(s => s.EpisodeId = 12)
|
||||
.AndTheNext(1).Has(s => s.EpisodeId = 99)
|
||||
.All().Has(s => s.SeriesId = 5)
|
||||
.TheFirst(1).With(s => s.EpisodeId = 12)
|
||||
.TheNext(1).With(s => s.EpisodeId = 99)
|
||||
.All().With(s => s.SeriesId = 5)
|
||||
.Build();
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue