mirror of
https://github.com/Radarr/Radarr
synced 2025-01-03 05:44:50 +00:00
Updated NzbGet tests.
This commit is contained in:
parent
072ca459bd
commit
c0c35a0eba
1 changed files with 15 additions and 2 deletions
|
@ -231,7 +231,7 @@ public void should_report_deletestatus_health_as_failed()
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void should_report_deletestatus_dupe_as_warning()
|
public void should_report_deletestatus_dupe_as_failed()
|
||||||
{
|
{
|
||||||
_completed.DeleteStatus = "DUPE";
|
_completed.DeleteStatus = "DUPE";
|
||||||
|
|
||||||
|
@ -240,7 +240,20 @@ public void should_report_deletestatus_dupe_as_warning()
|
||||||
|
|
||||||
var result = Subject.GetItems().Single();
|
var result = Subject.GetItems().Single();
|
||||||
|
|
||||||
result.Status.Should().Be(DownloadItemStatus.Warning);
|
result.Status.Should().Be(DownloadItemStatus.Failed);
|
||||||
|
}
|
||||||
|
|
||||||
|
[Test]
|
||||||
|
public void should_report_deletestatus_copy_as_failed()
|
||||||
|
{
|
||||||
|
_completed.DeleteStatus = "COPY";
|
||||||
|
|
||||||
|
GivenQueue(null);
|
||||||
|
GivenHistory(_completed);
|
||||||
|
|
||||||
|
var result = Subject.GetItems().Single();
|
||||||
|
|
||||||
|
result.Status.Should().Be(DownloadItemStatus.Failed);
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
|
Loading…
Reference in a new issue