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

Fixed: Exception thrown when marking download as complete

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
Qstick
2020-06-16 22:13:03 -04:00
parent 566fa8b132
commit 2328b384e2
3 changed files with 30 additions and 10 deletions
@@ -56,6 +56,10 @@ namespace NzbDrone.Core.Test.Download
Mocker.GetMock<IParsingService>()
.Setup(s => s.GetMovie("Drone.1998"))
.Returns(remoteMovie.Movie);
Mocker.GetMock<IHistoryService>()
.Setup(s => s.FindByDownloadId(It.IsAny<string>()))
.Returns(new List<MovieHistory>());
}
private RemoteMovie BuildRemoteMovie()