|
|
@ -213,6 +213,19 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests.NzbgetTests
|
|
|
|
result.Status.Should().Be(DownloadItemStatus.Failed);
|
|
|
|
result.Status.Should().Be(DownloadItemStatus.Failed);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
|
|
|
public void should_report_deletestatus_dupe_as_warning()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
_completed.DeleteStatus = "DUPE";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GivenQueue(null);
|
|
|
|
|
|
|
|
GivenHistory(_completed);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var result = Subject.GetItems().Single();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
result.Status.Should().Be(DownloadItemStatus.Warning);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
[Test]
|
|
|
|
public void should_report_unpackstatus_freespace_as_warning()
|
|
|
|
public void should_report_unpackstatus_freespace_as_warning()
|
|
|
|
{
|
|
|
|
{
|
|
|
|