1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-27 22:57:09 -04:00

Additional logging when trying to complete tracked downloads

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
Qstick
2020-06-09 00:06:31 -04:00
parent 021e7b8163
commit 1849ce4190
4 changed files with 29 additions and 1 deletions
@@ -2,6 +2,7 @@ using System.Collections.Generic;
using FizzWare.NBuilder;
using FluentAssertions;
using NUnit.Framework;
using NzbDrone.Core.Download;
using NzbDrone.Core.Download.TrackedDownloads;
using NzbDrone.Core.History;
using NzbDrone.Core.Movies;
@@ -26,8 +27,12 @@ namespace NzbDrone.Core.Test.Download.TrackedDownloads
.With(r => r.Movie = _movie)
.Build();
var downloadItem = Builder<DownloadClientItem>.CreateNew()
.Build();
_trackedDownload = Builder<TrackedDownload>.CreateNew()
.With(t => t.RemoteMovie = remoteMovie)
.With(t => t.DownloadItem = downloadItem)
.Build();
_historyItems = new List<MovieHistory>();