Replaced deprecated NBuilder calls.

This commit is contained in:
kay.one 2011-10-22 22:39:14 -07:00
commit f52620db70
14 changed files with 114 additions and 113 deletions

View file

@ -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();