mirror of
https://github.com/Sonarr/Sonarr
synced 2025-02-24 15:11:27 +00:00
Fix SAB test
This commit is contained in:
parent
4ea5e9ce9b
commit
88ecec2f9a
1 changed files with 1 additions and 1 deletions
|
@ -349,7 +349,7 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests.SabnzbdTests
|
||||||
{
|
{
|
||||||
Mocker.GetMock<ISabnzbdProxy>()
|
Mocker.GetMock<ISabnzbdProxy>()
|
||||||
.Setup(s => s.DownloadNzb(It.IsAny<byte[]>(), It.IsAny<string>(), It.IsAny<string>(), (int)SabnzbdPriority.High, It.IsAny<SabnzbdSettings>()))
|
.Setup(s => s.DownloadNzb(It.IsAny<byte[]>(), It.IsAny<string>(), It.IsAny<string>(), (int)SabnzbdPriority.High, It.IsAny<SabnzbdSettings>()))
|
||||||
.Returns(new SabnzbdAddResponse());
|
.Returns(new SabnzbdAddResponse { Ids = new List<string> { "sonarrtest" } });
|
||||||
|
|
||||||
var remoteEpisode = CreateRemoteEpisode();
|
var remoteEpisode = CreateRemoteEpisode();
|
||||||
remoteEpisode.Episodes = Builder<Episode>.CreateListOfSize(1)
|
remoteEpisode.Episodes = Builder<Episode>.CreateListOfSize(1)
|
||||||
|
|
Loading…
Reference in a new issue