From d7f96fa1391c85abe9355a9e1d42725cf5f68d19 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]