mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-01-26 02:26:59 +00:00
Fix NZBGet Delete Status Copy test
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user