1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-14 11:23:42 +02:00

Fix SAB test

This commit is contained in:
Mark McDowall 2019-05-03 14:09:19 -07:00
parent 4ea5e9ce9b
commit 88ecec2f9a

View File

@ -349,7 +349,7 @@ public void Download_should_use_sabRecentTvPriority_when_recentEpisode_is_true()
{
Mocker.GetMock<ISabnzbdProxy>()
.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();
remoteEpisode.Episodes = Builder<Episode>.CreateListOfSize(1)