Fix NZBGet Delete Status Copy test

pull/3216/head^2
Mark McDowall 5 years ago
parent bc85f5de1d
commit 9b0c945086

@ -278,16 +278,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