Fix NZBGet Delete Status Copy test

pull/983/head
Mark McDowall 5 years ago committed by Qstick
parent 5111e44984
commit cf4d52a996

@ -277,16 +277,16 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests.NzbgetTests
} }
[Test] [Test]
public void should_skip_deletestatus_copy() public void should_report_deletestatus_copy_as_failed()
{ {
_completed.DeleteStatus = "COPY"; _completed.DeleteStatus = "COPY";
GivenQueue(null); GivenQueue(null);
GivenHistory(_completed); GivenHistory(_completed);
var result = Subject.GetItems().SingleOrDefault(); var result = Subject.GetItems().Single();
result.Should().BeNull(); result.Status.Should().Be(DownloadItemStatus.Failed);
} }
[Test] [Test]

Loading…
Cancel
Save