Fixed RemoveGrabbed tests

This commit is contained in:
Mark McDowall 2018-04-22 09:40:44 -07:00
parent 4fb7cb3a8b
commit 401530db65
1 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using FizzWare.NBuilder; using FizzWare.NBuilder;
using Marr.Data; using Marr.Data;
@ -54,8 +54,10 @@ namespace NzbDrone.Core.Test.Download.Pending.PendingReleaseServiceTests
_release = Builder<ReleaseInfo>.CreateNew().Build(); _release = Builder<ReleaseInfo>.CreateNew().Build();
_parsedEpisodeInfo = Builder<ParsedEpisodeInfo>.CreateNew().Build(); _parsedEpisodeInfo = Builder<ParsedEpisodeInfo>.CreateNew()
_parsedEpisodeInfo.Quality = new QualityModel(Quality.HDTV720p); .With(h => h.Quality = new QualityModel(Quality.HDTV720p))
.With(h => h.AirDate = null)
.Build();
_remoteEpisode = new RemoteEpisode(); _remoteEpisode = new RemoteEpisode();
_remoteEpisode.Episodes = new List<Episode>{ _episode }; _remoteEpisode.Episodes = new List<Episode>{ _episode };