From 8105da33d848c8181597467f175472374726a3c2 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sat, 3 Dec 2022 17:28:11 -0800 Subject: [PATCH] Fixed broken pending release tests --- .../Download/Pending/PendingReleaseServiceTests/AddFixture.cs | 1 + .../Pending/PendingReleaseServiceTests/RemovePendingFixture.cs | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/NzbDrone.Core.Test/Download/Pending/PendingReleaseServiceTests/AddFixture.cs b/src/NzbDrone.Core.Test/Download/Pending/PendingReleaseServiceTests/AddFixture.cs index f8c845684..bbf1a6bf8 100644 --- a/src/NzbDrone.Core.Test/Download/Pending/PendingReleaseServiceTests/AddFixture.cs +++ b/src/NzbDrone.Core.Test/Download/Pending/PendingReleaseServiceTests/AddFixture.cs @@ -104,6 +104,7 @@ namespace NzbDrone.Core.Test.Download.Pending.PendingReleaseServiceTests .With(h => h.Title = title) .With(h => h.Release = release) .With(h => h.Reason = reason) + .With(h => h.ParsedEpisodeInfo = _parsedEpisodeInfo) .Build(); _heldReleases.AddRange(heldReleases); diff --git a/src/NzbDrone.Core.Test/Download/Pending/PendingReleaseServiceTests/RemovePendingFixture.cs b/src/NzbDrone.Core.Test/Download/Pending/PendingReleaseServiceTests/RemovePendingFixture.cs index 3a8714bbe..a58f638ae 100644 --- a/src/NzbDrone.Core.Test/Download/Pending/PendingReleaseServiceTests/RemovePendingFixture.cs +++ b/src/NzbDrone.Core.Test/Download/Pending/PendingReleaseServiceTests/RemovePendingFixture.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using FizzWare.NBuilder; using Moq; @@ -56,6 +56,7 @@ namespace NzbDrone.Core.Test.Download.Pending.PendingReleaseServiceTests _pending.Add(new PendingRelease { Id = id, + Title = "Series.Title.S01E05.abc-Sonarr", ParsedEpisodeInfo = new ParsedEpisodeInfo { SeasonNumber = seasonNumber, EpisodeNumbers = episodes } }); }