Fixed broken pending release tests
This commit is contained in:
parent
df199ce0d8
commit
8105da33d8
|
@ -104,6 +104,7 @@ namespace NzbDrone.Core.Test.Download.Pending.PendingReleaseServiceTests
|
||||||
.With(h => h.Title = title)
|
.With(h => h.Title = title)
|
||||||
.With(h => h.Release = release)
|
.With(h => h.Release = release)
|
||||||
.With(h => h.Reason = reason)
|
.With(h => h.Reason = reason)
|
||||||
|
.With(h => h.ParsedEpisodeInfo = _parsedEpisodeInfo)
|
||||||
.Build();
|
.Build();
|
||||||
|
|
||||||
_heldReleases.AddRange(heldReleases);
|
_heldReleases.AddRange(heldReleases);
|
||||||
|
|
|
@ -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 Moq;
|
using Moq;
|
||||||
|
@ -56,6 +56,7 @@ namespace NzbDrone.Core.Test.Download.Pending.PendingReleaseServiceTests
|
||||||
_pending.Add(new PendingRelease
|
_pending.Add(new PendingRelease
|
||||||
{
|
{
|
||||||
Id = id,
|
Id = id,
|
||||||
|
Title = "Series.Title.S01E05.abc-Sonarr",
|
||||||
ParsedEpisodeInfo = new ParsedEpisodeInfo { SeasonNumber = seasonNumber, EpisodeNumbers = episodes }
|
ParsedEpisodeInfo = new ParsedEpisodeInfo { SeasonNumber = seasonNumber, EpisodeNumbers = episodes }
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue