Fixed broken tests

This commit is contained in:
Mark McDowall 2012-07-14 01:31:03 -07:00
parent 1d2cd49bde
commit c0b81a8971
3 changed files with 6 additions and 1 deletions

View File

@ -75,6 +75,8 @@ namespace NzbDrone.Core.Test.ProviderTests.Metadata
var seriesActors = Builder<TvdbActor>
.CreateListOfSize(5)
.All()
.With(a => a.ActorImage = Builder<TvdbActorBanner>.CreateNew().Build())
.Build();
tvdbSeries = Builder<TvdbSeries>

View File

@ -58,6 +58,8 @@ namespace NzbDrone.Core.Test.ProviderTests.Metadata
var seriesActors = Builder<TvdbActor>
.CreateListOfSize(5)
.All()
.With(a => a.ActorImage = Builder<TvdbActorBanner>.CreateNew().Build())
.Build();
tvdbSeries = Builder<TvdbSeries>
@ -91,6 +93,8 @@ namespace NzbDrone.Core.Test.ProviderTests.Metadata
var seriesActors = Builder<TvdbActor>
.CreateListOfSize(5)
.All()
.With(a => a.ActorImage = Builder<TvdbActorBanner>.CreateNew().Build())
.Build();
tvdbSeries = Builder<TvdbSeries>

View File

@ -4,7 +4,6 @@ using System.Linq;
using System.Text;
using System.Xml;
using System.Xml.Linq;
using NLog;
using NzbDrone.Common;
using NzbDrone.Core.Model;
using NzbDrone.Core.Providers.Core;