From cf4d52a996758592a069eb610cdf2a562f37be58 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Thu, 25 Jul 2019 16:48:03 -0700 Subject: [PATCH] Fix NZBGet Delete Status Copy test --- .../DownloadClientTests/NzbgetTests/NzbgetFixture.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/NzbDrone.Core.Test/Download/DownloadClientTests/NzbgetTests/NzbgetFixture.cs b/src/NzbDrone.Core.Test/Download/DownloadClientTests/NzbgetTests/NzbgetFixture.cs index cbb79f44f..11777f6d1 100644 --- a/src/NzbDrone.Core.Test/Download/DownloadClientTests/NzbgetTests/NzbgetFixture.cs +++ b/src/NzbDrone.Core.Test/Download/DownloadClientTests/NzbgetTests/NzbgetFixture.cs @@ -277,16 +277,16 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests.NzbgetTests } [Test] - public void should_skip_deletestatus_copy() + public void should_report_deletestatus_copy_as_failed() { _completed.DeleteStatus = "COPY"; GivenQueue(null); GivenHistory(_completed); - var result = Subject.GetItems().SingleOrDefault(); + var result = Subject.GetItems().Single(); - result.Should().BeNull(); + result.Status.Should().Be(DownloadItemStatus.Failed); } [Test]