From 401530db65ae9ca61ba04e94e23b136194a477df Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 22 Apr 2018 09:40:44 -0700 Subject: [PATCH] Fixed RemoveGrabbed tests --- .../PendingReleaseServiceTests/RemoveGrabbedFixture.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/NzbDrone.Core.Test/Download/Pending/PendingReleaseServiceTests/RemoveGrabbedFixture.cs b/src/NzbDrone.Core.Test/Download/Pending/PendingReleaseServiceTests/RemoveGrabbedFixture.cs index 84ef17ae7..70ec02288 100644 --- a/src/NzbDrone.Core.Test/Download/Pending/PendingReleaseServiceTests/RemoveGrabbedFixture.cs +++ b/src/NzbDrone.Core.Test/Download/Pending/PendingReleaseServiceTests/RemoveGrabbedFixture.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using FizzWare.NBuilder; using Marr.Data; @@ -54,8 +54,10 @@ public void Setup() _release = Builder.CreateNew().Build(); - _parsedEpisodeInfo = Builder.CreateNew().Build(); - _parsedEpisodeInfo.Quality = new QualityModel(Quality.HDTV720p); + _parsedEpisodeInfo = Builder.CreateNew() + .With(h => h.Quality = new QualityModel(Quality.HDTV720p)) + .With(h => h.AirDate = null) + .Build(); _remoteEpisode = new RemoteEpisode(); _remoteEpisode.Episodes = new List{ _episode };