mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Replaced deprecated NBuilder calls.
This commit is contained in:
parent
956092dbd4
commit
f52620db70
14 changed files with 114 additions and 113 deletions
|
@ -338,8 +338,8 @@ namespace NzbDrone.Core.Test.ProviderTests
|
|||
All()
|
||||
.With(l => l.Language = new TvdbLanguage(0, "eng", "a"))
|
||||
.TheFirst(1)
|
||||
.Has(e => e.EpisodeNumber = 0)
|
||||
.Has(e => e.SeasonNumber = 15)
|
||||
.With(e => e.EpisodeNumber = 0)
|
||||
.With(e => e.SeasonNumber = 15)
|
||||
.Build())
|
||||
).With(c => c.Id = seriesId).Build();
|
||||
|
||||
|
@ -1183,7 +1183,7 @@ namespace NzbDrone.Core.Test.ProviderTests
|
|||
.With(c => c.Ignored = true)
|
||||
.TheFirst(2)
|
||||
.With(c => c.EpisodeFileId = 0)
|
||||
.WhereSection(1, 2)
|
||||
.Section(1, 2)
|
||||
.With(c => c.Ignored = false)
|
||||
.Build().ToList();
|
||||
|
||||
|
@ -1230,7 +1230,7 @@ namespace NzbDrone.Core.Test.ProviderTests
|
|||
.With(c => c.Ignored = true)
|
||||
.TheFirst(2)
|
||||
.With(c => c.EpisodeFileId = 0)
|
||||
.WhereSection(1, 2)
|
||||
.Section(1, 2)
|
||||
.With(c => c.Ignored = false)
|
||||
.Build().ToList();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue