Fixed NZBGet tests

pull/1689/head
Mark McDowall 5 years ago committed by Qstick
parent 3fff67a75d
commit 65c767f70e

@ -9,7 +9,7 @@ using NzbDrone.Core.Download.Clients.Nzbget;
using NzbDrone.Test.Common;
using NzbDrone.Core.RemotePathMappings;
using NzbDrone.Common.Disk;
using NzbDrone.Core.Download.Clients;
using NzbDrone.Core.Exceptions;
namespace NzbDrone.Core.Test.Download.DownloadClientTests.NzbgetTests
{
@ -277,16 +277,16 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests.NzbgetTests
}
[Test]
public void should_report_deletestatus_copy_as_failed()
public void should_skip_deletestatus_copy()
{
_completed.DeleteStatus = "COPY";
GivenQueue(null);
GivenHistory(_completed);
var result = Subject.GetItems().Single();
var result = Subject.GetItems().SingleOrDefault();
result.Status.Should().Be(DownloadItemStatus.Failed);
result.Should().BeNull();
}
[Test]
@ -350,7 +350,7 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests.NzbgetTests
var remoteAlbum = CreateRemoteAlbum();
Assert.Throws<DownloadClientException>(() => Subject.Download(remoteAlbum));
Assert.Throws<DownloadClientRejectedReleaseException>(() => Subject.Download(remoteAlbum));
}
[Test]

Loading…
Cancel
Save